[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sat Dec 8 09:31:00 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-08 15:30:47 UTC
Commited by: Federico Mennite <ite at techmonkeys.org>

Modified files:
     modules/channels/tclchan.c

Log message:

Last bans patch wasn't applied correctly. Patch by Jeff Fisher <guppy at techmonkeys.org>

---------------------- diff included ----------------------
Index: eggdrop1.7/modules/channels/tclchan.c
diff -u eggdrop1.7/modules/channels/tclchan.c:1.2 eggdrop1.7/modules/channels/tclchan.c:1.3
--- eggdrop1.7/modules/channels/tclchan.c:1.2	Sat Dec  8 09:14:01 2001
+++ eggdrop1.7/modules/channels/tclchan.c	Sat Dec  8 09:30:37 2001
@@ -1,7 +1,7 @@
 /*
  * tclchan.c -- part of channels.mod
  *
- * $Id: tclchan.c,v 1.2 2001/12/08 15:14:01 ite Exp $
+ * $Id: tclchan.c,v 1.3 2001/12/08 15:30:37 ite Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -568,10 +568,9 @@
       expire_time = now + (atoi(argv[4]) * 60);
   }
   u_addban(NULL, ban, from, cmt, expire_time, sticky);
-  for (chan = chanset; chan; chan = chan->next)
-    if ((me = module_find("irc", 0, 0)))
-      for (chan = chanset; chan != NULL; chan = chan->next)
-	(me->funcs[IRC_CHECK_THIS_BAN])(chan, ban, sticky);
+  if ((me = module_find("irc", 0, 0)))
+    for (chan = chanset; chan != NULL; chan = chan->next)
+      (me->funcs[IRC_CHECK_THIS_BAN])(chan, ban, sticky);
   return TCL_OK;
 }
 
----------------------- End of diff -----------------------



More information about the Changes mailing list