mirror of
https://github.com/anope/anope.git
synced 2026-07-07 17:23:13 +02:00
Removed mod_current_module_name, so far no ill-effects...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1808 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -29,7 +29,6 @@ MessageHash *IRCD[MAX_CMD_HASH];
|
||||
ModuleHash *MODULE_HASH[MAX_CMD_HASH];
|
||||
|
||||
Module *mod_current_module;
|
||||
const char *mod_current_module_name = NULL;
|
||||
char *mod_current_buffer = NULL;
|
||||
ModuleCallBack *moduleCallBackHead = NULL;
|
||||
|
||||
@@ -1319,7 +1318,6 @@ void ModuleManager::RunCallbacks()
|
||||
if (debug)
|
||||
alog("debug: executing callback: %s", tmp->name ? tmp->name : "<unknown>");
|
||||
if (tmp->func) {
|
||||
mod_current_module_name = tmp->owner_name;
|
||||
tmp->func(tmp->argc, tmp->argv);
|
||||
mod_current_module = NULL;
|
||||
moduleCallBackDeleteEntry(NULL);
|
||||
|
||||
Reference in New Issue
Block a user