[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Fri Dec 28 23:44:01 CST 2001


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

Modified files:
     doc/UPDATES1.6 doc/tcl-commands.doc src/patch.h src/tcl.c

Log message:

added Wcc's handlen patch

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.275 eggdrop1.6/doc/UPDATES1.6:1.276
--- eggdrop1.6/doc/UPDATES1.6:1.275	Fri Dec 28 23:38:49 2001
+++ eggdrop1.6/doc/UPDATES1.6	Fri Dec 28 23:43:34 2001
@@ -1,10 +1,12 @@
-$Id: UPDATES1.6,v 1.275 2001/12/29 05:38:49 guppy Exp $
+$Id: UPDATES1.6,v 1.276 2001/12/29 05:43:34 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.8
 Found by  Fixed by  What...
+          Wcc       added $hand-len for scripters to get the current length of handles from
+                    src/eggdrop.h (this setting does not adjust handle lengths however)
           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
Index: eggdrop1.6/doc/tcl-commands.doc
diff -u eggdrop1.6/doc/tcl-commands.doc:1.63 eggdrop1.6/doc/tcl-commands.doc:1.64
--- eggdrop1.6/doc/tcl-commands.doc:1.63	Thu Dec 20 12:52:10 2001
+++ eggdrop1.6/doc/tcl-commands.doc	Fri Dec 28 23:43:34 2001
@@ -997,8 +997,11 @@
     The last command binding which triggered. This allows you to
     identify which command triggered a Tcl routine.
 
- isjuped
-   value is 1 if bot's nick is juped(437) 0 otherwise.
+  isjuped
+    value is 1 if bot's nick is juped(437) 0 otherwise.
+
+  hand-len
+    the value of the HANDLEN setting in src/eggdrop.h
 
 COMMAND EXTENSION:
 
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.651 eggdrop1.6/src/patch.h:1.652
--- eggdrop1.6/src/patch.h:1.651	Fri Dec 28 23:38:50 2001
+++ eggdrop1.6/src/patch.h	Fri Dec 28 23:43:34 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.651 2001/12/29 05:38:50 guppy Exp $
+ * $Id: patch.h,v 1.652 2001/12/29 05:43:34 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1009603972");		/* current unixtime */
+patch("1009604384");		/* current unixtime */
 /*
  *
  *
  */
-patch("sum_whom");
+patch("handlen_tclvar");
 /*
  *
  *
Index: eggdrop1.6/src/tcl.c
diff -u eggdrop1.6/src/tcl.c:1.41 eggdrop1.6/src/tcl.c:1.42
--- eggdrop1.6/src/tcl.c:1.41	Sun Nov  4 03:18:44 2001
+++ eggdrop1.6/src/tcl.c	Fri Dec 28 23:43:34 2001
@@ -4,7 +4,7 @@
  *   Tcl initialization
  *   getting and setting Tcl/eggdrop variables
  *
- * $Id: tcl.c,v 1.41 2001/11/04 09:18:44 guppy Exp $
+ * $Id: tcl.c,v 1.42 2001/12/29 05:43:34 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -82,8 +82,9 @@
 					   ppl? - dw			      */
 int	    quiet_save = 0;             /* quiet-save patch by Lucas	      */
 int	    strtot = 0;
-int utftot = 0;
-int clientdata_stuff = 0;
+int 	    handlen = HANDLEN;
+int	    utftot = 0;
+int	    clientdata_stuff = 0;
 
 
 /* Prototypes for tcl */
@@ -441,6 +442,7 @@
 static tcl_ints def_tcl_ints[] =
 {
   {"ignore-time",		&ignore_time,		0},
+  {"hand-len",			&handlen,		2},
   {"dcc-flood-thr",		&dcc_flood_thr,		0},
   {"hourly-updates",		&notify_users_at,	0},
   {"switch-logfiles-at",	&switch_logfiles_at,	0},
----------------------- End of diff -----------------------



More information about the Changes mailing list