diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-05-03 14:06:59 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-05-03 14:06:59 +0000 |
commit | ed4423dbabe13ff5c56118f45acf81e9be84f284 (patch) | |
tree | 7415037aae47bdc2e73a29648987629ff0d8b753 | |
parent | c5cb6ef9fe5faffab9630a2d2684e7373f32403f (diff) |
BUILD : 1.7.2 (81) BUGS : N/A NOTES : Always set the correct module name when executing module functions
git-svn-id: svn://svn.anope.org/anope/trunk@81 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@57 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | commands.c | 2 | ||||
-rw-r--r-- | process.c | 2 | ||||
-rw-r--r-- | version.log | 6 |
4 files changed, 8 insertions, 3 deletions
@@ -1,6 +1,7 @@ Anope Version 1.7.x (will be renamed when next release is produced) ------------------- Provided by Anope Dev. <dev@anope.org> +2004/05/03 always set the right module name when executing mod_tail commands 2004/05/02 Added NickCore,NickAlias,Memos,ChannelInfo to the moduleAddData stuff, its going well! 2004/04/29 Added new MemoServ command CHECK to check whether a memo has been read or not. 2004/04/26 Added module data ability, currently only added to User struct diff --git a/commands.c b/commands.c index 9df040212..2863d6ca3 100644 --- a/commands.c +++ b/commands.c @@ -73,7 +73,7 @@ void do_run_cmd(const char *service, User * u, Command * c, if (retVal == MOD_CONT) { current = c->next; while (current && retVal == MOD_CONT) { - mod_current_module_name = c->mod_name; + mod_current_module_name = current->mod_name; retVal = current->routine(u); mod_current_module_name = NULL; current = current->next; @@ -235,7 +235,7 @@ void process() if (retVal == MOD_CONT) { current = m->next; while (current && current->func && retVal == MOD_CONT) { - mod_current_module_name = m->mod_name; + mod_current_module_name = current->mod_name; retVal = current->func(source, ac, av); mod_current_module_name = NULL; current = current->next; diff --git a/version.log b/version.log index b30a81176..f6773c76f 100644 --- a/version.log +++ b/version.log @@ -8,11 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="2" -VERSION_BUILD="80" +VERSION_BUILD="81" VERSION_EXTRA="" # $Log$ # +# BUILD : 1.7.2 (81) +# BUGS : N/A +# NOTES : Always set the correct module name when executing module functions +# # BUILD : 1.7.2 (80) # BUGS : N/A # NOTES : Added Memos/ChannelInfo to the moduleAddData() system |