[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Thu Dec 20 23:14:02 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-12-21 05:12:47 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/botcmd.c src/patch.h

Log message:

added BarkerJr's whomsg patch

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.264 eggdrop1.6/doc/UPDATES1.6:1.265
--- eggdrop1.6/doc/UPDATES1.6:1.264	Thu Dec 20 15:05:13 2001
+++ eggdrop1.6/doc/UPDATES1.6	Thu Dec 20 23:12:37 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.264 2001/12/20 21:05:13 guppy Exp $
+$Id: UPDATES1.6,v 1.265 2001/12/21 05:12:37 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.8
 Found by  Fixed by  What...
+          BarkerJr  log remote .who's
           BarkerJr  fixed a small bug in guppy's last patch
 various   guppy     tcl_botisvoice, tcl_botisop, tcl_botonchan, tcl_onchansplit, tcl_isop,
                     tcl_isvoice, and tcl_handonchan all take channel as an optional argument
Index: eggdrop1.6/src/botcmd.c
diff -u eggdrop1.6/src/botcmd.c:1.22 eggdrop1.6/src/botcmd.c:1.23
--- eggdrop1.6/src/botcmd.c:1.22	Sun Dec 16 08:40:17 2001
+++ eggdrop1.6/src/botcmd.c	Thu Dec 20 23:12:37 2001
@@ -3,7 +3,7 @@
  *   commands that comes across the botnet
  *   userfile transfer and update commands from sharebots
  *
- * $Id: botcmd.c,v 1.22 2001/12/16 14:40:17 guppy Exp $
+ * $Id: botcmd.c,v 1.23 2001/12/21 05:12:37 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -312,9 +312,15 @@
 static void remote_tell_who(int idx, char *nick, int chan)
 {
   int i = 10, k, l, ok = 0;
-  char s[1024];
+  char s[1024], *realnick;
   struct chanset_t *c;
 
+  realnick = strchr(nick, ':');
+  if (realnick)
+    realnick++;
+  else
+    realnick = nick;
+  putlog(LOG_BOTS, "*", "#%s# who", realnick);
   strcpy(s, "Channels: ");
   for (c = chanset; c; c = c->next)
     if (!channel_secret(c)) {
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.642 eggdrop1.6/src/patch.h:1.643
--- eggdrop1.6/src/patch.h:1.642	Thu Dec 20 18:41:41 2001
+++ eggdrop1.6/src/patch.h	Thu Dec 20 23:12:37 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.642 2001/12/21 00:41:41 guppy Exp $
+ * $Id: patch.h,v 1.643 2001/12/21 05:12:37 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1008895118");		/* current unixtime */
+patch("1008911432");		/* current unixtime */
 /*
  *
  *
  */
-patch("optionalchannelarg3");
+patch("whomsg");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list