[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sun Sep 23 23:37:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-09-24 04:36:06 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     src/mod/irc.mod/mode.c

Log message:

a small bug with banreasons was fixed, related to an previous 1.6.7 patch by dw

---------------------- diff included ----------------------
Index: eggdrop1.6/src/mod/irc.mod/mode.c
diff -u eggdrop1.6/src/mod/irc.mod/mode.c:1.46 eggdrop1.6/src/mod/irc.mod/mode.c:1.47
--- eggdrop1.6/src/mod/irc.mod/mode.c:1.46	Wed Jul 25 12:27:21 2001
+++ eggdrop1.6/src/mod/irc.mod/mode.c	Sun Sep 23 23:35:55 2001
@@ -4,7 +4,7 @@
  *   channel mode changes and the bot's reaction to them
  *   setting and getting the current wanted channel modes
  *
- * $Id: mode.c,v 1.46 2001/07/25 17:27:21 guppy Exp $
+ * $Id: mode.c,v 1.47 2001/09/24 04:35:55 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -653,12 +653,13 @@
     int cycle;
     char resn[512];
 
-    resn[0] = 0;
     for (cycle = 0; cycle < 2; cycle++) {
       for (b = cycle ? chan->bans : global_bans; b; b = b->next) {
 	if (wild_match(b->mask, who)) {
 	  if (b->desc && b->desc[0] != '@')
 	    egg_snprintf(resn, sizeof resn, "%s%s", IRC_PREBANNED, b->desc);
+          else 
+            resn[0] = 0;
 	}
       }
     }
----------------------- End of diff -----------------------



More information about the Changes mailing list