[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sat Dec 8 10:29:00 CST 2001


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

Modified files:
     modules/channels/tclchan.c

Log message:

More ban issues fixes. 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.3 eggdrop1.7/modules/channels/tclchan.c:1.4
--- eggdrop1.7/modules/channels/tclchan.c:1.3	Sat Dec  8 09:30:37 2001
+++ eggdrop1.7/modules/channels/tclchan.c	Sat Dec  8 10:28:29 2001
@@ -1,7 +1,7 @@
 /*
  * tclchan.c -- part of channels.mod
  *
- * $Id: tclchan.c,v 1.3 2001/12/08 15:30:37 ite Exp $
+ * $Id: tclchan.c,v 1.4 2001/12/08 16:28:29 ite Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -567,10 +567,10 @@
     else
       expire_time = now + (atoi(argv[4]) * 60);
   }
-  u_addban(NULL, ban, from, cmt, expire_time, 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);
+  if(u_addban(NULL, ban, from, cmt, expire_time, 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