diff options
| author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:11:32 +0000 |
|---|---|---|
| committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:11:32 +0000 |
| commit | d3f58dcd4f97589ddeddd665eedede29ad6baa28 (patch) | |
| tree | bb53cade468e006cb5f6dd263d124f6b66b345d4 /src/core | |
| parent | 552c4a47b18a3373b46512a00bfce360f30a5cea (diff) | |
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
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/cs_modes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_modes.c b/src/core/cs_modes.c index 0597f2f4f..feb82d108 100644 --- a/src/core/cs_modes.c +++ b/src/core/cs_modes.c @@ -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; |
