1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 06:23:14 +02:00

Replaced notice() with direct call to SendMessage() in IRCDProto class.

Added SendNoticeInternal() function to IRCDProto class, now SendNotice() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1336 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-02 19:11:32 +00:00
parent 552c4a47b1
commit d3f58dcd4f
10 changed files with 34 additions and 53 deletions
+2 -2
View File
@@ -341,7 +341,7 @@ int do_util(User * u, CSModeUtil * util)
chan_set_modes(s_ChanServ, uc->chan, 2, av, 2);
if (util->notice && ci->flags & util->notice)
notice(whosends(ci), uc->chan->name,
ircdproto->SendMessage(whosends(ci), uc->chan->name,
"%s command used for %s by %s", util->name,
u->nick, u->nick);
}
@@ -381,7 +381,7 @@ int do_util(User * u, CSModeUtil * util)
chan_set_modes(s_ChanServ, c, 2, av, 2);
if (util->notice && ci->flags & util->notice)
notice(whosends(ci), c->name, "%s command used for %s by %s",
ircdproto->SendMessage(whosends(ci), c->name, "%s command used for %s by %s",
util->name, u2->nick, u->nick);
}
return MOD_CONT;