[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sat Oct 20 14:05:00 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-10-20 19:03:19 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

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

Log message:

a patch by Sup to export some module functions

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.196 eggdrop1.6/doc/UPDATES1.6:1.197
--- eggdrop1.6/doc/UPDATES1.6:1.196	Fri Oct 19 17:53:54 2001
+++ eggdrop1.6/doc/UPDATES1.6	Sat Oct 20 14:03:08 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.196 2001/10/19 22:53:54 guppy Exp $
+$Id: UPDATES1.6,v 1.197 2001/10/20 19:03:08 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.7
 Found by  Fixed by  What...
+DrDeath   Sup       Exported module_load and module_unload for modules.
 various   stdarg    fixed a potential sendnote crash when the notes module
                     is unloaded
           poptix    bad pointers are evil in tcl_userlist
Index: eggdrop1.6/src/mod/module.h
diff -u eggdrop1.6/src/mod/module.h:1.53 eggdrop1.6/src/mod/module.h:1.54
--- eggdrop1.6/src/mod/module.h:1.53	Sun Sep 23 23:25:40 2001
+++ eggdrop1.6/src/mod/module.h	Sat Oct 20 14:03:09 2001
@@ -1,7 +1,7 @@
 /*
  * module.h
  *
- * $Id: module.h,v 1.53 2001/09/24 04:25:40 guppy Exp $
+ * $Id: module.h,v 1.54 2001/10/20 19:03:09 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -448,6 +448,8 @@
 #define kill_bot ((void (*)(char *, char *))global[271])
 /* 272 - 275 */
 #define quit_msg ((char *)(global[272]))
+#define module_load ((char *(*)(char *))global[273])
+#define module_unload ((char *(*)(char *, char *))global[274])
 
 /* This is for blowfish module, couldnt be bothered making a whole new .h
  * file for it ;)
Index: eggdrop1.6/src/modules.c
diff -u eggdrop1.6/src/modules.c:1.57 eggdrop1.6/src/modules.c:1.58
--- eggdrop1.6/src/modules.c:1.57	Fri Oct 19 16:12:55 2001
+++ eggdrop1.6/src/modules.c	Sat Oct 20 14:03:09 2001
@@ -4,7 +4,7 @@
  * 
  * by Darrin Smith (beldin at light.iinet.net.au)
  * 
- * $Id: modules.c,v 1.57 2001/10/19 21:12:55 guppy Exp $
+ * $Id: modules.c,v 1.58 2001/10/20 19:03:09 guppy Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -536,6 +536,8 @@
   (Function) kill_bot,
   /* 272 - 275 */
   (Function) quit_msg,		/* char *				*/
+  (Function) module_load,
+  (Function) module_unload,
 };
 
 void init_modules(void)
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.567 eggdrop1.6/src/patch.h:1.568
--- eggdrop1.6/src/patch.h:1.567	Fri Oct 19 16:14:14 2001
+++ eggdrop1.6/src/patch.h	Sat Oct 20 14:03:09 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.567 2001/10/19 21:14:14 guppy Exp $
+ * $Id: patch.h,v 1.568 2001/10/20 19:03:09 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1003525726");		/* current unixtime */
+patch("1003604469");		/* current unixtime */
 /*
  *
  *
  */
-patch("sendnote_crash");
+patch("exportmods");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list