mirror of
https://github.com/anope/anope.git
synced 2026-06-29 05:46:37 +02:00
Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with std::string
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -246,7 +246,7 @@ int ModuleManager::LoadModule(const std::string &modname, User * u)
|
||||
|
||||
if (u)
|
||||
{
|
||||
ircdproto->SendGlobops(findbot(Config.s_OperServ), "%s loaded module %s", u->nick, modname.c_str());
|
||||
ircdproto->SendGlobops(findbot(Config.s_OperServ), "%s loaded module %s", u->nick.c_str(), modname.c_str());
|
||||
notice_lang(Config.s_OperServ, u, OPER_MODULE_LOADED, modname.c_str());
|
||||
|
||||
/* If a user is loading this module, then the core databases have already been loaded
|
||||
@@ -278,7 +278,7 @@ int ModuleManager::UnloadModule(Module *m, User *u)
|
||||
|
||||
if (u)
|
||||
{
|
||||
ircdproto->SendGlobops(findbot(Config.s_OperServ), "%s unloaded module %s", u->nick, m->name.c_str());
|
||||
ircdproto->SendGlobops(findbot(Config.s_OperServ), "%s unloaded module %s", u->nick.c_str(), m->name.c_str());
|
||||
notice_lang(Config.s_OperServ, u, OPER_MODULE_UNLOADED, m->name.c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user