[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sat Dec 29 15:32:00 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-29 21:31:17 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

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

Log message:

added BarkerJr's sum_whom patch from 1.6

---------------------- diff included ----------------------
Index: eggdrop1.7/doc/UPDATES1.6
diff -u eggdrop1.7/doc/UPDATES1.6:1.188 eggdrop1.7/doc/UPDATES1.6:1.189
--- eggdrop1.7/doc/UPDATES1.6:1.188	Sat Dec 29 15:26:55 2001
+++ eggdrop1.7/doc/UPDATES1.6	Sat Dec 29 15:31:07 2001
@@ -1,11 +1,13 @@
-$Id: UPDATES1.6,v 1.188 2001/12/29 21:26:55 guppy Exp $
+$Id: UPDATES1.6,v 1.189 2001/12/29 21:31:07 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.8
 Found by  Fixed by  What...
-jedis     guppy     fixed tcl_bot when kicking someone on another bot without a reason from
+          BarkerJr  cmd_whom now displays a sum of all the partyline users
+          Tothwolf  copyright updates
+jedis     guppy     fixed tcl_boot when kicking someone on another bot without a reason from
                     screwing up the boot reason
           Wcc       max-modes and max-modes are automatically set by net-type now
           guppy     origbotname was being wrongly used in some locations
Index: eggdrop1.7/src/botnet.c
diff -u eggdrop1.7/src/botnet.c:1.47 eggdrop1.7/src/botnet.c:1.48
--- eggdrop1.7/src/botnet.c:1.47	Tue Oct 30 22:02:51 2001
+++ eggdrop1.7/src/botnet.c	Sat Dec 29 15:31:07 2001
@@ -7,7 +7,7 @@
  *   linking, unlinking, and relaying to another bot
  *   pinging the bots periodically and checking leaf status
  *
- * $Id: botnet.c,v 1.47 2001/10/31 04:02:51 tothwolf Exp $
+ * $Id: botnet.c,v 1.48 2001/12/29 21:31:07 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -445,8 +445,7 @@
 void answer_local_whom(int idx, int chan)
 {
   char c, idle[40], spaces2[33] = "                               ";
-  int i, len, len2;
-  int t, nicklen, botnicklen;
+  int i, len, len2, t, nicklen, botnicklen, total = 0;
 
   if (chan == (-1))
     dprintf(idx, "%s (+: %s, *: %s)\n", _("Users across the botnet"), _("Party line"),
@@ -508,6 +507,7 @@
 	  idle[0] = 0;
 	spaces[len = nicklen - strlen(dcc[i].nick)] = 0;
 	spaces2[len2 = botnicklen - strlen(botnetnick)] = 0;
+	total++;
 	dprintf(idx, "%c%s%s %c %s%s  %s%s\n", c, dcc[i].nick, spaces,
 		(dcc[i].u.chat->channel == 0) && (chan == (-1)) ? '+' :
 		(dcc[i].u.chat->channel > 100000) &&
@@ -542,6 +542,7 @@
 	idle[0] = 0;
       spaces[len = nicklen - strlen(party[i].nick)] = 0;
       spaces2[len2 = botnicklen - strlen(party[i].bot)] = 0;
+      total++;
       dprintf(idx, "%c%s%s %c %s%s  %s%s\n", c, party[i].nick, spaces,
 	      (party[i].chan == 0) && (chan == (-1)) ? '+' : ' ',
 	      party[i].bot, spaces2, party[i].from, idle);
@@ -552,6 +553,7 @@
 		party[i].away ? party[i].away : "");
     }
   }
+  dprintf(idx, "Total users: %d\n", total);
 }
 
 /* Show z a list of all bots connected
Index: eggdrop1.7/src/patch.h
diff -u eggdrop1.7/src/patch.h:1.573 eggdrop1.7/src/patch.h:1.574
--- eggdrop1.7/src/patch.h:1.573	Sat Dec 29 15:26:56 2001
+++ eggdrop1.7/src/patch.h	Sat Dec 29 15:31:07 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.573 2001/12/29 21:26:56 guppy Exp $
+ * $Id: patch.h,v 1.574 2001/12/29 21:31:07 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,17 +41,17 @@
  *
  *
  */
-patch("1009660933");		/* current unixtime */
+patch("1009661140");		/* current unixtime */
 /*
  *
  *
  */
-patch("bootfix");
+patch("sum_whom");
 /*
  *
  *
  */
-patch("bootfix");
+patch("sum_whom");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list