mirror of
https://github.com/anope/anope.git
synced 2026-07-04 03:43:13 +02:00
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
This commit is contained in:
parent
c5cb6ef9fe
commit
ed4423dbab
@@ -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
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user