1
0
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:
cyberbotx
2008-11-28 06:20:40 +00:00
parent bdc13b4d6d
commit f439924aa2
5 changed files with 7 additions and 35 deletions
-4
View File
@@ -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());