summaryrefslogtreecommitdiff
path: root/src/modules.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-28 06:20:40 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-28 06:20:40 +0000
commitf439924aa29ac0ea2b050187aa4d63e48cb8f4c2 (patch)
treeeefb16be5d4eb33fa3ea2f0e3484d1945b4168c0 /src/modules.c
parentbdc13b4d6de240fddfee87bf141d49abce83148c (diff)
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
Diffstat (limited to 'src/modules.c')
-rw-r--r--src/modules.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules.c b/src/modules.c
index 9ae18bc70..6a25f4830 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -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);