1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 10:16:40 +02:00

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
This commit is contained in:
cyberbotx
2008-11-28 06:00:47 +00:00
parent c11d431dd0
commit bdc13b4d6d
3 changed files with 0 additions and 5 deletions
-2
View File
@@ -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;
/*************************************************************************/
/*************************************************************************/
-2
View File
@@ -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;
-1
View File
@@ -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;