diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 06:32:45 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 06:32:45 +0000 |
commit | 000b8b342343e54f24c42eb925ded78bd7511216 (patch) | |
tree | c4dc3b5fd26549827285129c91f3c4f32082dc63 /src/modules.c | |
parent | f439924aa29ac0ea2b050187aa4d63e48cb8f4c2 (diff) |
Removed mod_current_module, again, so far, no ill-effects...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1809 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules.c b/src/modules.c index 6a25f4830..cf202916c 100644 --- a/src/modules.c +++ b/src/modules.c @@ -28,7 +28,6 @@ CommandHash *OPERSERV[MAX_CMD_HASH]; MessageHash *IRCD[MAX_CMD_HASH]; ModuleHash *MODULE_HASH[MAX_CMD_HASH]; -Module *mod_current_module; char *mod_current_buffer = NULL; ModuleCallBack *moduleCallBackHead = NULL; @@ -67,7 +66,6 @@ int encryption_module_init(void) { ret = ModuleManager::LoadModule(EncModule, NULL); if (ret == MOD_ERR_OK) findModule(EncModule)->SetType(ENCRYPTION); - mod_current_module = NULL; return ret; } @@ -102,7 +100,6 @@ int protocol_module_init(void) } } - mod_current_module = NULL; return ret; } @@ -1319,7 +1316,6 @@ void ModuleManager::RunCallbacks() alog("debug: executing callback: %s", tmp->name ? tmp->name : "<unknown>"); if (tmp->func) { tmp->func(tmp->argc, tmp->argv); - mod_current_module = NULL; moduleCallBackDeleteEntry(NULL); } } |