vhost watch command

These are old archives. They are kept for historic purposes only.
Post Reply
tabs
Posts: 3
Joined: Fri Feb 03, 2006 7:37 pm

vhost watch command

Post 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.
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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.
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Post Reply