diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:02:37 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:02:37 +0000 |
commit | 6c305a3d6731191899f4331be56a071dab66d194 (patch) | |
tree | 59a7bf69f0a2b035bc84580552e0745977307a82 /src/modules.c | |
parent | f3f1b97a1ab782a3419fe20ae06d3e3535a4ddae (diff) |
Replaced anope_SendGlobops() with direct call to SendGlobops() in IRCDProto class.
Added SendGlobopsInternal() function to IRCDProto class, now SendGlobops() is a stub to handle varargs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1347 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.c b/src/modules.c index 6f62840c8..3be6f3f3f 100644 --- a/src/modules.c +++ b/src/modules.c @@ -670,7 +670,7 @@ int loadModule(Module * m, User * u) } if (u) { - anope_SendGlobops(s_OperServ, "%s loaded module %s", u->nick, + ircdproto->SendGlobops(s_OperServ, "%s loaded module %s", u->nick, m->name); notice_lang(s_OperServ, u, OPER_MODULE_LOADED, m->name); } @@ -726,7 +726,7 @@ int unloadModule(Module * m, User * u) return MOD_ERR_NOUNLOAD; } else { if (u) { - anope_SendGlobops(s_OperServ, "%s unloaded module %s", u->nick, + ircdproto->SendGlobops(s_OperServ, "%s unloaded module %s", u->nick, m->name); notice_lang(s_OperServ, u, OPER_MODULE_UNLOADED, m->name); } |