[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Fri Dec 28 23:40:03 CST 2001


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

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

Log message:

added the sum whom patch by BarkerJr

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.274 eggdrop1.6/doc/UPDATES1.6:1.275
--- eggdrop1.6/doc/UPDATES1.6:1.274	Tue Dec 25 21:50:40 2001
+++ eggdrop1.6/doc/UPDATES1.6	Fri Dec 28 23:38:49 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.274 2001/12/26 03:50:40 tothwolf Exp $
+$Id: UPDATES1.6,v 1.275 2001/12/29 05:38:49 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.8
 Found by  Fixed by  What...
+          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
Index: eggdrop1.6/src/botnet.c
diff -u eggdrop1.6/src/botnet.c:1.36 eggdrop1.6/src/botnet.c:1.37
--- eggdrop1.6/src/botnet.c:1.36	Tue Aug  7 08:52:37 2001
+++ eggdrop1.6/src/botnet.c	Fri Dec 28 23:38:49 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.36 2001/08/07 13:52:37 poptix Exp $
+ * $Id: botnet.c,v 1.37 2001/12/29 05:38:49 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -426,8 +426,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", BOT_BOTNETUSERS, BOT_PARTYLINE,
@@ -489,6 +488,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) &&
@@ -523,6 +523,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);
@@ -533,6 +534,7 @@
 		party[i].away ? party[i].away : "");
     }
   }
+  dprintf(idx, "Total users: %d\n", total);
 }
 
 /* Show z a list of all bots connected
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.650 eggdrop1.6/src/patch.h:1.651
--- eggdrop1.6/src/patch.h:1.650	Sun Dec 23 00:49:13 2001
+++ eggdrop1.6/src/patch.h	Fri Dec 28 23:38:50 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.650 2001/12/23 06:49:13 guppy Exp $
+ * $Id: patch.h,v 1.651 2001/12/29 05:38:50 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1009089989");		/* current unixtime */
+patch("1009603972");		/* current unixtime */
 /*
  *
  *
  */
-patch("bootfix");
+patch("sum_whom");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list