mirror of
https://github.com/anope/anope.git
synced 2026-06-25 03:46:36 +02:00
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
This commit is contained in:
@@ -172,8 +172,6 @@ int ModuleManager::LoadModule(const std::string &modname, User * u)
|
||||
throw CoreException("Couldn't find constructor, yet moderror wasn't set?");
|
||||
}
|
||||
|
||||
mod_current_module_name = modname.c_str();
|
||||
|
||||
/* Create module. */
|
||||
std::string nick;
|
||||
if (u)
|
||||
@@ -210,8 +208,6 @@ int ModuleManager::LoadModule(const std::string &modname, User * u)
|
||||
return MOD_STOP;
|
||||
}
|
||||
|
||||
mod_current_module_name = NULL;
|
||||
|
||||
if (u)
|
||||
{
|
||||
ircdproto->SendGlobops(s_OperServ, "%s loaded module %s", u->nick, modname.c_str());
|
||||
|
||||
Reference in New Issue
Block a user