[cvslog] [CVS] Module eggdrop1.6: Change committed

cvs at eggheads.org cvs at eggheads.org
Thu Jul 8 13:23:16 CST 2010


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2010-07-08 19:23:16 UTC
Committer  : Rumen Stoyanov <pseudo at egg6.net>

Modified files:
     doc/Changes1.6 src/modules.c src/patch.h src/mod/module.h

Log message:

Added log_ts to the modules function table to keep modules relying on the old LOG_TS #define working.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/Changes1.6
diff -u eggdrop1.6/doc/Changes1.6:1.90 eggdrop1.6/doc/Changes1.6:1.91
--- eggdrop1.6/doc/Changes1.6:1.90	Wed Jul  7 15:05:50 2010
+++ eggdrop1.6/doc/Changes1.6	Thu Jul  8 13:23:06 2010
@@ -1,4 +1,4 @@
-$Id: Changes1.6,v 1.90 2010/07/07 21:05:50 thommey Exp $
+$Id: Changes1.6,v 1.91 2010/07/08 19:23:06 pseudo Exp $
 
 Eggdrop Changes (since version 1.6.0)
 
@@ -6,6 +6,10 @@
 
 1.6.20 (CVS):
 
+  - Added log_ts to the modules function table to keep modules relying on
+    the old LOG_TS #define working.
+    Patch by: pseudo
+
   - Restore socket_cleanup functionality, was broken by the notifier patch.
   - Fixed detection of eggdrop already running on startup.
     Found by: CyBex / Patch by: thommey
Index: eggdrop1.6/src/mod/module.h
diff -u eggdrop1.6/src/mod/module.h:1.94 eggdrop1.6/src/mod/module.h:1.95
--- eggdrop1.6/src/mod/module.h:1.94	Tue Jun 29 09:52:24 2010
+++ eggdrop1.6/src/mod/module.h	Thu Jul  8 13:23:06 2010
@@ -1,7 +1,7 @@
 /*
  * module.h
  *
- * $Id: module.h,v 1.94 2010/06/29 15:52:24 thommey Exp $
+ * $Id: module.h,v 1.95 2010/07/08 19:23:06 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -484,6 +484,7 @@
 /* 296 - 299 */
 #define check_conflags ((int (*) (struct flag_record *, int))global[296])
 #define increase_socks_max ((int (*)(void))global[297])
+#define LOG_TS ((char *)(global[298]))
 
 /* hostmasking */
 #define maskhost(a,b) maskaddr((a),(b),3)
Index: eggdrop1.6/src/modules.c
diff -u eggdrop1.6/src/modules.c:1.107 eggdrop1.6/src/modules.c:1.108
--- eggdrop1.6/src/modules.c:1.107	Tue Jun 29 09:52:24 2010
+++ eggdrop1.6/src/modules.c	Thu Jul  8 13:23:06 2010
@@ -4,7 +4,7 @@
  *
  * by Darrin Smith (beldin at light.iinet.net.au)
  *
- * $Id: modules.c,v 1.107 2010/06/29 15:52:24 thommey Exp $
+ * $Id: modules.c,v 1.108 2010/07/08 19:23:06 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -86,7 +86,7 @@
 
 extern char tempdir[], botnetnick[], botname[], natip[], hostname[],
             origbotname[], botuser[], admin[], userfile[], ver[], notify_new[],
-            helpdir[], version[], quit_msg[];
+            helpdir[], version[], quit_msg[], log_ts[];
 
 extern int parties, noshare, dcc_total, egg_numver, userfile_perm, do_restart,
            ignore_time, must_be_owner, raw_log, max_dcc, make_userfile,
@@ -575,7 +575,8 @@
   (Function) mask_match,
   /* 296 - 299 */
   (Function) check_conflags,
-  (Function) increase_socks_max
+  (Function) increase_socks_max,
+  (Function) log_ts
 };
 
 void init_modules(void)
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1253 eggdrop1.6/src/patch.h:1.1254
--- eggdrop1.6/src/patch.h:1.1253	Wed Jul  7 10:25:58 2010
+++ eggdrop1.6/src/patch.h	Thu Jul  8 13:23:06 2010
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1253 2010/07/07 16:25:58 thommey Exp $
+ * $Id: patch.h,v 1.1254 2010/07/08 19:23:06 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1278102620");            /* current unixtime */
+patch("1278616633");            /* current unixtime */
 /*
  *
  *
  */
-patch("killpidfix");
+patch("LOG_TS");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list