1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 13:36:38 +02:00

BUILD : 1.7.0 (12) BUGS : 5 NOTES : Fixed a bug with module callbacks, this is a tiny fix, but will need to be merged with the 1.6.x series, as it can cause a segfault if a module attempts to use recersive callbacks.

git-svn-id: svn://svn.anope.org/anope/trunk@12 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@7 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-03-31 15:45:28 +00:00
parent 15d01b8668
commit 14301f6e65
2 changed files with 8 additions and 1 deletions
+2
View File
@@ -1264,7 +1264,9 @@ void moduleCallBackRun(void)
if (debug)
alog("Executing callback: %s", tmp->name ? tmp->name : "?");
if (tmp->func) {
mod_current_module_name = tmp->owner_name;
tmp->func(tmp->argc, tmp->argv);
mod_current_module = NULL;
moduleCallBackDeleteEntry(NULL); /* delete the head */
}
}
+6 -1
View File
@@ -8,11 +8,16 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="0"
VERSION_BUILD="11"
VERSION_BUILD="12"
VERSION_EXTRA=""
# $Log$
#
# BUILD : 1.7.0 (12)
# BUGS : 5
# NOTES : Fixed a bug with module callbacks, this is a tiny fix, but will need to be merged with the 1.6.x series, as it can cause a segfault if a module attempts to use recersive callbacks.
#
#
# BUILD : 1.7.0 (11)
# BUGS :
# NOTES : Added channelname to entrymsgs