diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-03-31 15:45:28 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-03-31 15:45:28 +0000 |
commit | 14301f6e65ce327360a720a87d9eb55476e2cf66 (patch) | |
tree | b6b2cdb68f0ffbf9d73903d236ed78394bc2b36f | |
parent | 15d01b86682e5af4ff1ad3a709680740cb5e37fe (diff) |
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
-rw-r--r-- | modules.c | 2 | ||||
-rw-r--r-- | version.log | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -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 */ } } diff --git a/version.log b/version.log index c475f37b6..fabfc6f0c 100644 --- a/version.log +++ b/version.log @@ -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 |