diff options
-rw-r--r-- | include/modules.h | 2 | ||||
-rw-r--r-- | src/modulemanager.cpp | 2 | ||||
-rw-r--r-- | src/modules.c | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/include/modules.h b/include/modules.h index b7ac4ffe6..4dd6f5d28 100644 --- a/include/modules.h +++ b/include/modules.h @@ -492,8 +492,6 @@ MDE int moduleAddRootHelp(Command * c, int (*func) (User * u)); extern MDE Module *mod_current_module; extern MDE const char *mod_current_module_name; extern MDE char *mod_current_buffer; -extern MDE int mod_current_op; -extern MDE User *mod_current_user; /*************************************************************************/ /*************************************************************************/ diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index 7ffe35a7a..c14abd94f 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -22,7 +22,6 @@ void ModuleManager::LoadModuleList(int total_modules, char **module_list) if (!m) { status = ModuleManager::LoadModule(module_list[idx], NULL); mod_current_module = NULL; - mod_current_user = NULL; } } } @@ -195,7 +194,6 @@ int ModuleManager::LoadModule(const std::string &modname, User * u) } mod_current_module = m; - mod_current_user = u; m->filename = pbuf; m->handle = handle; diff --git a/src/modules.c b/src/modules.c index 2130377f6..9ae18bc70 100644 --- a/src/modules.c +++ b/src/modules.c @@ -31,7 +31,6 @@ ModuleHash *MODULE_HASH[MAX_CMD_HASH]; Module *mod_current_module; const char *mod_current_module_name = NULL; char *mod_current_buffer = NULL; -User *mod_current_user; ModuleCallBack *moduleCallBackHead = NULL; |