[cvslog] [CVS] Module eggdrop1.6: Change committed

cvs at eggheads.org cvs at eggheads.org
Fri Oct 2 05:17:09 CST 2009


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2009-10-02 11:17:09 UTC
Committer  : Rumen Stoyanov <pseudo at egg6.net>

Modified files:
     doc/Changes1.6 src/patch.h src/mod/irc.mod/msgcmds.c

Log message:

Made eggdrop log the channel name for /MSG GO commands.
Fixes Bugzilla Bug # 452 "Failed GO Messages Should Include Channel Name"

Found by: BarkerJr / Patch by: pseudo

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/Changes1.6
diff -u eggdrop1.6/doc/Changes1.6:1.36 eggdrop1.6/doc/Changes1.6:1.37
--- eggdrop1.6/doc/Changes1.6:1.36	Fri Oct  2 03:47:28 2009
+++ eggdrop1.6/doc/Changes1.6	Fri Oct  2 05:16:59 2009
@@ -1,4 +1,4 @@
-$Id: Changes1.6,v 1.36 2009/10/02 09:47:28 pseudo Exp $
+$Id: Changes1.6,v 1.37 2009/10/02 11:16:59 pseudo Exp $
 
 Eggdrop Changes (since version 1.6.0)
 
@@ -6,6 +6,10 @@
 
 1.6.20 (CVS):
 
+  - Made eggdrop log the channel name for /MSG GO commands.
+    Fixes Bugzilla Bug # 452 "Failed GO Messages Should Include Channel Name"
+    Found by: BarkerJr / Patch by: pseudo
+
   - Added bugreporter names for recent patches to doc/Changes1.6.
     Patch by: pseudo
 
Index: eggdrop1.6/src/mod/irc.mod/msgcmds.c
diff -u eggdrop1.6/src/mod/irc.mod/msgcmds.c:1.54 eggdrop1.6/src/mod/irc.mod/msgcmds.c:1.55
--- eggdrop1.6/src/mod/irc.mod/msgcmds.c:1.54	Tue Sep 22 14:30:47 2009
+++ eggdrop1.6/src/mod/irc.mod/msgcmds.c	Fri Oct  2 05:16:59 2009
@@ -2,7 +2,7 @@
  * msgcmds.c -- part of irc.mod
  *   all commands entered via /MSG
  *
- * $Id: msgcmds.c,v 1.54 2009/09/22 20:30:47 thommey Exp $
+ * $Id: msgcmds.c,v 1.55 2009/10/02 11:16:59 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1028,14 +1028,14 @@
     if (!chan)
       return 0;
     if (!(chan->status & CHAN_ACTIVE)) {
-      putlog(LOG_CMDS, "*", "(%s!%s) !%s! failed GO (i'm blind)", nick, host,
-             u->handle);
+      putlog(LOG_CMDS, "*", "(%s!%s) !%s! failed GO %s (i'm blind)", nick,
+             host, u->handle, par);
       return 1;
     }
     get_user_flagrec(u, &fr, par);
     if (!chan_op(fr) && !(glob_op(fr) && !chan_deop(fr))) {
-      putlog(LOG_CMDS, "*", "(%s!%s) !%s! failed GO (not op)", nick, host,
-             u->handle);
+      putlog(LOG_CMDS, "*", "(%s!%s) !%s! failed GO %s (not op)", nick, host,
+             u->handle, par);
       return 1;
     }
     if (!me_op(chan)) {
@@ -1061,13 +1061,13 @@
     }
   }
   if (ok) {
-    putlog(LOG_CMDS, "*", "(%s!%s) !%s! GO", nick, host, u->handle);
+    putlog(LOG_CMDS, "*", "(%s!%s) !%s! GO %s", nick, host, u->handle, par);
   } else if (ok2) {
-    putlog(LOG_CMDS, "*", "(%s!%s) !%s! failed GO (i'm chop)", nick, host,
-           u->handle);
+    putlog(LOG_CMDS, "*", "(%s!%s) !%s! failed GO %s (i'm chop)", nick, host,
+           u->handle, par);
   } else {
-    putlog(LOG_CMDS, "*", "(%s!%s) !%s! failed GO (not op)", nick, host,
-           u->handle);
+    putlog(LOG_CMDS, "*", "(%s!%s) !%s! failed GO %s (not op)", nick, host,
+           u->handle, par);
   }
   return 1;
 }
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1213 eggdrop1.6/src/patch.h:1.1214
--- eggdrop1.6/src/patch.h:1.1213	Thu Oct  1 15:33:33 2009
+++ eggdrop1.6/src/patch.h	Fri Oct  2 05:16:59 2009
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1213 2009/10/01 21:33:33 pseudo Exp $
+ * $Id: patch.h,v 1.1214 2009/10/02 11:16:59 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1254431396");            /* current unixtime */
+patch("1254481742");            /* current unixtime */
 /*
  *
  *
  */
-patch("jumpfix");
+patch("gomsg");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list