[eggheads-patches] PATCH: kicklog.patch

Per/dw dw at lixom.nu
Wed Oct 6 16:20:38 CST 1999


someone removed the logging when ppl gets kicked.
this fixes it.

dw
-- 
"Cyberspace scared me so bad I downloaded in my pants."
   -- Buddy Jellison
-------------- next part --------------
Index: doc/UPDATES1.3
===================================================================
RCS file: /usr/local/cvsroot/eggdrop1.3/doc/UPDATES1.3,v
retrieving revision 1.171
diff -u -r1.171 UPDATES1.3
--- doc/UPDATES1.3	1999/10/06 19:45:58	1.171
+++ doc/UPDATES1.3	1999/10/06 21:14:43
@@ -4,6 +4,7 @@
 
 1.3.29
 Foundby   Fixedby   What....
+          dw        kicks wasnt loged anymore
 Ben       Fabian    eggdrop.conf.dist now talks positively about allow-resync
           rtc       fixed .console to not allow channels starting with '*'.
 SuperS	  Fabian    if run with '-n', eggdrop now only prints every line once
Index: src/mod/irc.mod/chan.c
===================================================================
RCS file: /usr/local/cvsroot/eggdrop1.3/src/mod/irc.mod/chan.c,v
retrieving revision 1.34
diff -u -r1.34 chan.c
--- src/mod/irc.mod/chan.c	1999/10/04 21:25:45	1.34
+++ src/mod/irc.mod/chan.c	1999/10/06 21:14:44
@@ -1611,6 +1611,9 @@
       set_handle_laston(chname, u2, now);
       maybe_revenge(chan, from, s1, REVENGE_KICK);
     }
+    /* dammit someone removed the logging for kicks added it again dw */
+    putlog(LOG_MODES, chname, "%s kicked from %s by %s: %s", s1, chname,
+	   from, msg);
     /* kicked ME?!? the sods! */
     if (match_my_nick(nick)) {
       chan->status &= ~(CHAN_ACTIVE | CHAN_PEND);


More information about the Patches mailing list