[cvslog] (2002-07-22 05:43:39 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Mon Jul 22 00:44:02 CST 2002


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2002-07-22 05:43:39 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/patch.h src/mod/irc.mod/cmdsirc.c

Log message:

added Eule's kickbanfix patch

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.376 eggdrop1.6/doc/UPDATES1.6:1.377
--- eggdrop1.6/doc/UPDATES1.6:1.376	Fri Jul 19 00:25:33 2002
+++ eggdrop1.6/doc/UPDATES1.6	Mon Jul 22 00:43:27 2002
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.376 2002/07/19 05:25:33 wcc Exp $
+$Id: UPDATES1.6,v 1.377 2002/07/22 05:43:27 guppy Exp $
 
 Changes in Eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.11
 Found by  Fixed by  What...
+          Eule      fixed cmd_kickban so it works
           Wcc/      fixed a bug causing "[HH:MM] !!! OVER MAXIMUM <queue> QUEUE" to be
           [sL]      logged to LOG_SVROUT
           Wcc       log PINGs/PONGs sent to the server in LOG_SVROUT
Index: eggdrop1.6/src/mod/irc.mod/cmdsirc.c
diff -u eggdrop1.6/src/mod/irc.mod/cmdsirc.c:1.36 eggdrop1.6/src/mod/irc.mod/cmdsirc.c:1.37
--- eggdrop1.6/src/mod/irc.mod/cmdsirc.c:1.36	Tue Jul  9 00:46:35 2002
+++ eggdrop1.6/src/mod/irc.mod/cmdsirc.c	Mon Jul 22 00:43:28 2002
@@ -2,7 +2,7 @@
  * chancmds.c -- part of irc.mod
  *   handles commands directly relating to channel interaction
  *
- * $Id: cmdsirc.c,v 1.36 2002/07/09 05:46:35 guppy Exp $
+ * $Id: cmdsirc.c,v 1.37 2002/07/22 05:43:28 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -192,8 +192,8 @@
     return;
   }
   if (!me_op(chan) && !me_halfop(chan)) {
-    dprintf(idx, "I can't help you now because I'm not a channel op or halfop %s",
-	    "on %s.\n", chan->dname);
+    dprintf(idx, "I can't help you now because I'm not a channel op or halfop on %s.\n",
+	    chan->dname);
     return;
   }
   putlog(LOG_CMDS, "*", "#%s# (%s) kickban %s", dcc[idx].nick,
@@ -206,15 +206,14 @@
   if (match_my_nick(nick)) {
     dprintf(idx, "I'm not going to kickban myself.\n");
     return;
-  } else {
-    m = ismember(chan, nick);
-    if (!m)
-      dprintf(idx, "%s is not on %s\n", nick, chan->dname);
+  }
+  m = ismember(chan, nick);
+  if (!m) {
+    dprintf(idx, "%s is not on %s\n", nick, chan->dname);
     return;
   }
   if (!me_op(chan) && chan_hasop(m)) {
-    dprintf(idx, "I can't help you now because halfops cannot kick ops.\n",
-	    chan->dname);
+    dprintf(idx, "I can't help you now because halfops cannot kick ops.\n");
     return;
   }
   egg_snprintf(s, sizeof s, "%s!%s", m->nick, m->userhost);
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.782 eggdrop1.6/src/patch.h:1.783
--- eggdrop1.6/src/patch.h:1.782	Sun Jul 21 18:56:43 2002
+++ eggdrop1.6/src/patch.h	Mon Jul 22 00:43:28 2002
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.782 2002/07/21 23:56:43 wcc Exp $
+ * $Id: patch.h,v 1.783 2002/07/22 05:43:28 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1027295707");		/* current unixtime */
+patch("1027316784");		/* current unixtime */
 /*
  *
  *
  */
-patch("mns_ban_help");
+patch("kickbanfix");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list