On Thursday 05 May 2005 7:08 pm, Marcus Rueckert wrote: > On 2005-05-05 18:26:54 -0400, tabris wrote: > > > did you check if other ircds use 379? what do they use it for? > > > > http://www.alien.net.au/irc/irc2numerics.html > > > > 379 RPL_KICKLINKED aircd > > 379 RPL_WHOISMODES Unreal > > can you check your patch against aircd? > > > > > it appears that event_whois_usermode is falling through to > > > > event_whois_special. > > > > > > hmm that sounds like 379 didnt have any special handling so far. > > > > In the 20041111 tree I have, it's currently handled by > > event_whois_modes. However that displays incorrectly. all I see is > > can you provide a patch against SVN HEAD? attached. It is tested against Unreal, and it does work same as the 20041111 tree I have. > > thanks in advance > > darix
-- My reason tells me that land cannot be sold - nothing can be sold but such things as can be carried away. Black Hawk, (Saulk)
Index: src/fe-common/irc/fe-whois.c
===================================================================
--- src/fe-common/irc/fe-whois.c (revision 3728)
+++ src/fe-common/irc/fe-whois.c (working copy)
@@ -342,7 +342,7 @@ static struct whois_event_table events[]
{ 312, event_whois_server },
{ 326, event_whois_usermode326 },
{ 327, event_whois_realhost327 },
- { 379, event_whois_modes },
+ { 379, event_whois_usermode },
{ 378, event_whois_realhost },
{ 377, event_whois_usermode },
{ 317, event_whois_idle },
@@ -380,7 +380,7 @@ void fe_whois_init(void)
signal_add("event 330", (SIGNAL_FUNC) event_whois_auth);
signal_add("event 377", (SIGNAL_FUNC) event_whois_usermode);
signal_add("event 378", (SIGNAL_FUNC) event_whois_realhost);
- signal_add("event 379", (SIGNAL_FUNC) event_whois_modes);
+ signal_add("event 379", (SIGNAL_FUNC) event_whois_usermode);
signal_add("event 327", (SIGNAL_FUNC) event_whois_realhost327);
signal_add("event 326", (SIGNAL_FUNC) event_whois_usermode326);
signal_add("whois away", (SIGNAL_FUNC) event_whois_away);
@@ -402,7 +402,7 @@ void fe_whois_deinit(void)
signal_remove("event 330", (SIGNAL_FUNC) event_whois_auth);
signal_remove("event 377", (SIGNAL_FUNC) event_whois_usermode);
signal_remove("event 378", (SIGNAL_FUNC) event_whois_realhost);
- signal_remove("event 379", (SIGNAL_FUNC) event_whois_modes);
+ signal_remove("event 379", (SIGNAL_FUNC) event_whois_usermode);
signal_remove("event 327", (SIGNAL_FUNC) event_whois_realhost327);
signal_remove("event 326", (SIGNAL_FUNC) event_whois_usermode326);
signal_remove("whois away", (SIGNAL_FUNC) event_whois_away);
pgpsV1maDZAdJ.pgp
Description: PGP signature
