[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Thu Oct 18 04:28:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-10-18 09:27:02 UTC
Commited by: stdarg <stdarg at techmonkeys.org>

Modified files:
     src/script.c

Log message:

Fixed bug where the config vars were being linked as read-only.

---------------------- diff included ----------------------
Index: eggdrop1.7/src/script.c
diff -u eggdrop1.7/src/script.c:1.6 eggdrop1.7/src/script.c:1.7
--- eggdrop1.7/src/script.c:1.6	Thu Oct 18 04:06:43 2001
+++ eggdrop1.7/src/script.c	Thu Oct 18 04:26:52 2001
@@ -66,8 +66,8 @@
 static registry_simple_chain_t my_functions[] = {
 	{"script", NULL, 0},
 	{"create cmd", my_create_cmd, 2},
-	{"link int", my_link_int, 2},
-	{"link str", my_link_str, 2},
+	{"link int", my_link_int, 3},
+	{"link str", my_link_str, 3},
 	{"playback", my_playback, 2},
 	0
 };
@@ -91,7 +91,7 @@
 	script_int_t *intval;
 
 	for (intval = table; intval->class && intval->name; intval++) {
-		link_int(link_int_h, intval, 0);
+		link_int(link_int_h, intval, 0, 0, 0);
 	}
 	return(0);
 
----------------------- End of diff -----------------------



More information about the Changes mailing list