Page 1 of 1

vhost watch command

Posted: Fri May 05, 2006 11:12 pm
by tabs
Hi All,

I`m currently using hostserv (Anope) with unreal. and if a user does a /watch somenick , whenever the somenick connects/disconnects, the vhost provided by the hostserv does not kick in.

ie whoever is doing a watch sees the cloaked IP provided by the IRCD not the vanity one from hostserv when the watched user connects.

This seems like a race condition between the time the user can identify with anope and the time the user can identify.
Unlinking the m_watch.so seems to solve the problem.

I was just wondering if there were other ways that would provide a similar result.

Thanks.

Posted: Sat May 06, 2006 12:27 am
by Syzop
It's indeed what you said.. a race condition, that cannot be solved..
Whenever a user connects, the users watching for this user are notified with the host of that user (eg: the IP, in any case not the vhost), only "long after" (from an ircd point of view, in time it could well be only a second, or less, or more) the user gets the vhost.

Posted: Sat May 06, 2006 12:28 am
by Jason
You would have to edit, or create a module to override watch, and delay the notification for say 30 seconds. There is no configuration based method of doing this.