[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sat Dec 29 15:35:02 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-29 21:34:08 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 hand-len patch from 1.6

---------------------- diff included ----------------------
Index: eggdrop1.7/doc/UPDATES1.6
diff -u eggdrop1.7/doc/UPDATES1.6:1.189 eggdrop1.7/doc/UPDATES1.6:1.190
--- eggdrop1.7/doc/UPDATES1.6:1.189	Sat Dec 29 15:31:07 2001
+++ eggdrop1.7/doc/UPDATES1.6	Sat Dec 29 15:33:58 2001
@@ -1,10 +1,12 @@
-$Id: UPDATES1.6,v 1.189 2001/12/29 21:31:07 guppy Exp $
+$Id: UPDATES1.6,v 1.190 2001/12/29 21:33:58 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.7/doc/tcl-commands.doc
diff -u eggdrop1.7/doc/tcl-commands.doc:1.64 eggdrop1.7/doc/tcl-commands.doc:1.65
--- eggdrop1.7/doc/tcl-commands.doc:1.64	Sat Dec 29 14:55:31 2001
+++ eggdrop1.7/doc/tcl-commands.doc	Sat Dec 29 15:33:58 2001
@@ -985,6 +985,9 @@
   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:
 
 You can use the 'bind' command to attach Tcl procedures to certain events.
Index: eggdrop1.7/src/patch.h
diff -u eggdrop1.7/src/patch.h:1.574 eggdrop1.7/src/patch.h:1.575
--- eggdrop1.7/src/patch.h:1.574	Sat Dec 29 15:31:07 2001
+++ eggdrop1.7/src/patch.h	Sat Dec 29 15:33:58 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.574 2001/12/29 21:31:07 guppy Exp $
+ * $Id: patch.h,v 1.575 2001/12/29 21:33:58 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,17 +41,17 @@
  *
  *
  */
-patch("1009661140");		/* current unixtime */
+patch("1009661297");		/* current unixtime */
 /*
  *
  *
  */
-patch("sum_whom");
+patch("handlen_tclvar");
 /*
  *
  *
  */
-patch("sum_whom");
+patch("handlen_tclvar");
 /*
  *
  *
Index: eggdrop1.7/src/tcl.c
diff -u eggdrop1.7/src/tcl.c:1.61 eggdrop1.7/src/tcl.c:1.62
--- eggdrop1.7/src/tcl.c:1.61	Mon Dec 17 23:49:39 2001
+++ eggdrop1.7/src/tcl.c	Sat Dec 29 15:33:58 2001
@@ -4,7 +4,7 @@
  *   Tcl initialization
  *   getting and setting Tcl/eggdrop variables
  *
- * $Id: tcl.c,v 1.61 2001/12/18 05:49:39 guppy Exp $
+ * $Id: tcl.c,v 1.62 2001/12/29 21:33:58 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -79,6 +79,7 @@
 int	    par_telnet_flood = 1;       /* trigger telnet flood for +f
 					   ppl? - dw			      */
 int	    quiet_save = 0;             /* quiet-save patch by Lucas	      */
+int     handlen = HANDLEN;
 
 /* Prototypes for tcl */
 Tcl_Interp *Tcl_CreateInterp();
@@ -331,6 +332,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},
   {"connect-timeout",		&connect_timeout,	0},
----------------------- End of diff -----------------------



More information about the Changes mailing list