summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-28 06:00:47 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-28 06:00:47 +0000
commitbdc13b4d6de240fddfee87bf141d49abce83148c (patch)
treec079e8ada4ea8f58646cb65d024a9ac486d12018 /src
parentc11d431dd075d4881d9a2834b12db43b9f74d6fb (diff)
Removed mod_current_user and mod_current_op, the latter of which was only an extern.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1807 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/modulemanager.cpp2
-rw-r--r--src/modules.c1
2 files changed, 0 insertions, 3 deletions
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;