[cvslog] Module eggdrop1.7: Change committed

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


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-09 21:43:46 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/logfile.c

Log message:

log-time 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.19 eggdrop1.7/doc/html/egg-core.html:1.20
--- eggdrop1.7/doc/html/egg-core.html:1.19	Sun Dec  9 15:38:11 2001
+++ eggdrop1.7/doc/html/egg-core.html	Sun Dec  9 15:43:35 2001
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: egg-core.html,v 1.19 2001/12/09 21:38:11 guppy Exp $ -->
+<!-- $Id: egg-core.html,v 1.20 2001/12/09 21:43:35 guppy Exp $ -->
 
 <html>
   <head>
@@ -246,14 +246,6 @@
           info, and errors from any channel<br>
            In &#39;lame.log&#39; put joins, parts, kicks, bans, public
           chatter and mode changes from #lamest</p>
-        </dd>
-
-        <dt><strong><em>set log-time 1</em></strong></dt>
-
-        <dd>
-          <p>Use this feature to timestamp entries in the log file.</p>
-
-          <p>Valid settings are 0 and 1.</p>
         </dd>
 
         <dt><strong>set keep-all-logs 0</strong></dt>
Index: eggdrop1.7/doc/settings/core.settings
diff -u eggdrop1.7/doc/settings/core.settings:1.15 eggdrop1.7/doc/settings/core.settings:1.16
--- eggdrop1.7/doc/settings/core.settings:1.15	Sun Dec  9 15:38:11 2001
+++ eggdrop1.7/doc/settings/core.settings	Sun Dec  9 15:43:36 2001
@@ -126,11 +126,6 @@
     from #lamest
 
 
-set log-time 1
-    Use this feature to timestamp entries in the log file.
-    Valid settings are 0 for OFF and 1 ON.
-
-
 set keep-all-logs 0
     If you want to keep your logfiles forever turn this setting on. All
     logfiles will get suffix ".[day, 2 digits][month, 3 letters][year, 4 digits]"
Index: eggdrop1.7/eggdrop.complete.conf
diff -u eggdrop1.7/eggdrop.complete.conf:1.54 eggdrop1.7/eggdrop.complete.conf:1.55
--- eggdrop1.7/eggdrop.complete.conf:1.54	Sun Dec  9 15:38:11 2001
+++ eggdrop1.7/eggdrop.complete.conf	Sun Dec  9 15:43:35 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.54 2001/12/09 21:38:11 guppy Exp $
+# $Id: eggdrop.complete.conf,v 1.55 2001/12/09 21:43:35 guppy Exp $
 #
 # This config file includes all possible options you can
 # use to configure your bot properly.
@@ -113,9 +113,6 @@
 logfile mco * "logs/eggdrop.log"
 # in 'lame.log' put joins, parts, kicks, bans, and mode changes from #lamest:
 logfile jk #lamest "logs/lamest.log"
-
-# [0/1] timestamp entries in the log file? (generally a good idea)
-set log-time 1
 
 # [0/1] keep logfiles for more than 48 hours -- instead of being called
 # "(logfilename).yesterday", the log files are named by the current date,
Index: eggdrop1.7/help/core.help
diff -u eggdrop1.7/help/core.help:1.12 eggdrop1.7/help/core.help:1.13
--- eggdrop1.7/help/core.help:1.12	Sat Dec  8 09:59:25 2001
+++ eggdrop1.7/help/core.help	Sun Dec  9 15:43:36 2001
@@ -115,7 +115,6 @@
 switch-logfiles-at
 connect-timeout
 reserved-portrange
-log-time
 require-p
 keep-all-logs
 open-telnets
Index: eggdrop1.7/help/set/cmds2.help
diff -u eggdrop1.7/help/set/cmds2.help:1.4 eggdrop1.7/help/set/cmds2.help:1.5
--- eggdrop1.7/help/set/cmds2.help:1.4	Mon Jan 22 17:47:33 2001
+++ eggdrop1.7/help/set/cmds2.help	Sun Dec  9 15:43:36 2001
@@ -86,9 +86,6 @@
    obviously this has no effect if you have %b'learn-users'%b and
    %b'open-telnets'%b turned off.
    for a list of the flags, see %b'whois'%b.
-%{help=set log-time}%{+n}
-###  %bset log-time%b <0/1>
-   specifies whether or not to time-stamp all log entries.
 %{help=set numversion}%{+n}
 ###  %bset numversion%b
    This read-only variable returns the current version in numeric
Index: eggdrop1.7/src/logfile.c
diff -u eggdrop1.7/src/logfile.c:1.11 eggdrop1.7/src/logfile.c:1.12
--- eggdrop1.7/src/logfile.c:1.11	Tue Nov 13 19:57:50 2001
+++ eggdrop1.7/src/logfile.c	Sun Dec  9 15:43:36 2001
@@ -26,7 +26,6 @@
 extern int dcc_total;
 extern struct dcc_t *dcc;
 
-static int timestamp_logs = 1; /* Add timestamp to log entries? */
 static int cycle_at = 300; /* Military time where we cycle logfiles. */
 static int keep_all_logs = 0; /* Keep all logs? */
 static int max_logsize = 0; /* Max log size in kilobytes. */
@@ -66,7 +65,6 @@
 };
 
 static script_int_t log_script_ints[] = {
-	{"", "log-time", &timestamp_logs},
 	{"", "max-logsize", &max_logsize},
 	{"", "switch-logfiles-at", &cycle_at},
 	{"", "keep-all-logs", &keep_all_logs},
@@ -90,8 +88,7 @@
 
 	now = time(NULL);
 	/* Calculate timestamp. */
-	if (timestamp_logs) strftime(t, 32, "[%H:%M] ", localtime(&now));
-	else *t = 0;
+	strftime(t, 32, "[%H:%M] ", localtime(&now));
 	return(0);
 }
 
----------------------- End of diff -----------------------



More information about the Changes mailing list