diff options
-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 |