[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sun Dec 9 15:47:01 CST 2001


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

Modified files:
     eggdrop.complete.conf doc/html/egg-core.html
     doc/settings/core.settings help/core.help help/set/cmds2.help
     src/tcl.c src/tcldcc.c

Log message:

enable-simul has been removed as a config setting

---------------------- diff included ----------------------
Index: eggdrop1.7/doc/html/egg-core.html
diff -u eggdrop1.7/doc/html/egg-core.html:1.20 eggdrop1.7/doc/html/egg-core.html:1.21
--- eggdrop1.7/doc/html/egg-core.html:1.20	Sun Dec  9 15:43:35 2001
+++ eggdrop1.7/doc/html/egg-core.html	Sun Dec  9 15:46:02 2001
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: egg-core.html,v 1.20 2001/12/09 21:43:35 guppy Exp $ -->
+<!-- $Id: egg-core.html,v 1.21 2001/12/09 21:46:02 guppy Exp $ -->
 
 <html>
   <head>
@@ -704,15 +704,6 @@
         <dd>
           <p>Enable this setting if you want your eggdrop on receiving a
           SIGTERM. Otherwise eggdrop will just save its userfile.</p>
-
-          <p>Valid settings are 0 and 1.</p>
-        </dd>
-
-        <dt><strong><em>set enable-simul 1</em></strong></dt>
-
-        <dd>
-          <p>Enable this setting, if you want to enable the
-          &#39;dccsimul&#39; tcl command</p>
 
           <p>Valid settings are 0 and 1.</p>
         </dd>
Index: eggdrop1.7/doc/settings/core.settings
diff -u eggdrop1.7/doc/settings/core.settings:1.16 eggdrop1.7/doc/settings/core.settings:1.17
--- eggdrop1.7/doc/settings/core.settings:1.16	Sun Dec  9 15:43:36 2001
+++ eggdrop1.7/doc/settings/core.settings	Sun Dec  9 15:46:02 2001
@@ -437,11 +437,6 @@
     Valid settings are 0 for OFF and 1 ON.
 
 
-set enable-simul 1
-    Enable this setting, if you want to enable the 'dccsimul' tcl command
-    Valid settings are 0 for OFF and 1 ON.
-
-
 set allow-dk-cmds 1
     Enable this setting, if you want +d & +k users to use commands bound as -|-
     Valid settings are 0 for OFF and 1 ON.
Index: eggdrop1.7/eggdrop.complete.conf
diff -u eggdrop1.7/eggdrop.complete.conf:1.55 eggdrop1.7/eggdrop.complete.conf:1.56
--- eggdrop1.7/eggdrop.complete.conf:1.55	Sun Dec  9 15:43:35 2001
+++ eggdrop1.7/eggdrop.complete.conf	Sun Dec  9 15:46:01 2001
@@ -1,7 +1,7 @@
 #! /path/to/executable/eggdrop
 # ^- set that to the directory eggdrop is in i.e. "#! /home/lamest/egg/eggdrop"
 #
-# $Id: eggdrop.complete.conf,v 1.55 2001/12/09 21:43:35 guppy Exp $
+# $Id: eggdrop.complete.conf,v 1.56 2001/12/09 21:46:01 guppy Exp $
 #
 # This config file includes all possible options you can
 # use to configure your bot properly.
@@ -347,10 +347,6 @@
 # maximum number of dcc connections you will allow - you can increase this
 # later, but never decrease it, 50 seems to be enough for everybody
 set max-dcc 50
-
-# [0/1] add the 'dccsimul' tcl command (needed by certain scripts like
-# action.fix.tcl)
-set enable-simul 1
 
 # [0/1] allow +d & +k users to use commands bound as -|- ?
 set allow-dk-cmds 1
Index: eggdrop1.7/help/core.help
diff -u eggdrop1.7/help/core.help:1.13 eggdrop1.7/help/core.help:1.14
--- eggdrop1.7/help/core.help:1.13	Sun Dec  9 15:43:36 2001
+++ eggdrop1.7/help/core.help	Sun Dec  9 15:46:02 2001
@@ -96,7 +96,6 @@
 remote-boots
 max-dcc
 max-logs
-enable-simul
 protect-telnet
 ident-timeout
 share-unlinks
Index: eggdrop1.7/help/set/cmds2.help
diff -u eggdrop1.7/help/set/cmds2.help:1.5 eggdrop1.7/help/set/cmds2.help:1.6
--- eggdrop1.7/help/set/cmds2.help:1.5	Sun Dec  9 15:43:36 2001
+++ eggdrop1.7/help/set/cmds2.help	Sun Dec  9 15:46:02 2001
@@ -116,11 +116,6 @@
    This sets the maximum number of log files you can have at any one
    time, this value can only ever be increase, and it always helps
    to have a few spare.
-%{help=set enable-simul}%{+n}
-###  %bset enable-simul%b 0/1
-   This questionable setting enables the dccsimul command which
-   allows tcl to simulate a user typing a command, some scripts
-   require it.
 %{help=set protect-telnet}%{+n}
 ###  %bset protect-telnet%b 0/1
    This setting, when enabled, only allows telnet connections from
Index: eggdrop1.7/src/tcl.c
diff -u eggdrop1.7/src/tcl.c:1.57 eggdrop1.7/src/tcl.c:1.58
--- eggdrop1.7/src/tcl.c:1.57	Sun Dec  9 15:38:12 2001
+++ eggdrop1.7/src/tcl.c	Sun Dec  9 15:46:03 2001
@@ -4,7 +4,7 @@
  *   Tcl initialization
  *   getting and setting Tcl/eggdrop variables
  *
- * $Id: tcl.c,v 1.57 2001/12/09 21:38:12 guppy Exp $
+ * $Id: tcl.c,v 1.58 2001/12/09 21:46:03 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -58,7 +58,7 @@
 		bannerfile[], egg_version[], natip[], configfile[],
 		textdir[], myip6[], pid_file[];
 extern int	die_on_sighup, die_on_sigterm,
-		enable_simul, dcc_total, debug_output, identtimeout,
+		dcc_total, debug_output, identtimeout,
 		protect_telnet, dupwait_timeout, egg_numver, share_unlinks,
 		sort_users, tands, resolve_timeout, userfile_perm,
 		default_uflags, strict_host;
@@ -348,7 +348,6 @@
   {"die-on-sigterm",		&die_on_sigterm,	1},
   {"remote-boots",		&remote_boots,		1},
   {"max-dcc",			&max_dcc,		0},
-  {"enable-simul",		&enable_simul,		1},
   {"debug-output",		&debug_output,		1},
   {"protect-telnet",		&protect_telnet,	0},
   {"sort-users",		&sort_users,		0},
Index: eggdrop1.7/src/tcldcc.c
diff -u eggdrop1.7/src/tcldcc.c:1.42 eggdrop1.7/src/tcldcc.c:1.43
--- eggdrop1.7/src/tcldcc.c:1.42	Mon Nov 12 22:50:40 2001
+++ eggdrop1.7/src/tcldcc.c	Sun Dec  9 15:46:03 2001
@@ -2,7 +2,7 @@
  * tcldcc.c -- handles:
  *   Tcl stubs for the dcc commands
  *
- * $Id: tcldcc.c,v 1.42 2001/11/13 04:50:40 stdarg Exp $
+ * $Id: tcldcc.c,v 1.43 2001/12/09 21:46:03 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -39,7 +39,6 @@
 extern time_t		 now;
 
 
-int			 enable_simul = 0;
 static struct portmap	*root = NULL;
 
 
@@ -84,7 +83,6 @@
 static int script_dccsimul(int idx, char *cmd)
 {
   int len;
-  if (!enable_simul) return(1);
   if (idx < 0 || !dcc->type || !(dcc[idx].type->flags & DCT_SIMUL)
     || !(dcc[idx].type->activity)) return(1);
 
----------------------- End of diff -----------------------



More information about the Changes mailing list