[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sat Dec 1 08:28:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-01 14:27:11 UTC
Commited by: Federico Mennite <ite at techmonkeys.org>

Modified files:
     modules/irc/mode.c

Log message:

Ban reason string was unitialized. Patch by Matthew Hallacy <poptix at techmonkeys.org>

---------------------- diff included ----------------------
Index: eggdrop1.7/modules/irc/mode.c
diff -u eggdrop1.7/modules/irc/mode.c:1.1 eggdrop1.7/modules/irc/mode.c:1.2
--- eggdrop1.7/modules/irc/mode.c:1.1	Sat Oct 27 11:34:50 2001
+++ eggdrop1.7/modules/irc/mode.c	Sat Dec  1 08:27:01 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.1 2001/10/27 16:34:50 ite Exp $
+ * $Id: mode.c,v 1.2 2001/12/01 14:27:01 ite Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -650,7 +650,7 @@
   if (check && channel_enforcebans(chan)) {
     register maskrec *b;
     int cycle;
-    char resn[512];
+    char resn[512]="";
     for (cycle = 0; cycle < 2; cycle++) {
       for (b = cycle ? chan->bans : global_bans; b; b = b->next) {
 	if (wild_match(b->mask, who)) {
----------------------- End of diff -----------------------



More information about the Changes mailing list