summaryrefslogtreecommitdiff
path: root/src/core/cs_ban.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 18:26:56 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 18:26:56 +0000
commit0ded22502384bd69c45fbc2ecd9d99172ff51910 (patch)
treeccb656e76d66ea2c46125231daf95a8dff52a9f6 /src/core/cs_ban.c
parenta29d23a06e3ba98c793cffecae1bf682f251178d (diff)
Replaced anope_SendMode() with direct call to SendMode() in IRCDProto class.
Also added SendModeInternal() function to IRCDProto class, now SendMode() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1329 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_ban.c')
-rw-r--r--src/core/cs_ban.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_ban.c b/src/core/cs_ban.c
index 570589ead..92f8b7733 100644
--- a/src/core/cs_ban.c
+++ b/src/core/cs_ban.c
@@ -118,7 +118,7 @@ int do_ban(User * u)
av[0] = "+b";
get_idealban(ci, u, mask, sizeof(mask));
av[1] = mask;
- anope_SendMode(whosends(ci), uc->chan->name, "+b %s",
+ ircdproto->SendMode(whosends(ci), uc->chan->name, "+b %s",
av[1]);
chan_set_modes(s_ChanServ, uc->chan, 2, av, 1);
@@ -175,7 +175,7 @@ int do_ban(User * u)
av[0] = "+b";
get_idealban(ci, u2, mask, sizeof(mask));
av[1] = mask;
- anope_SendMode(whosends(ci), c->name, "+b %s", av[1]);
+ ircdproto->SendMode(whosends(ci), c->name, "+b %s", av[1]);
chan_set_modes(s_ChanServ, c, 2, av, 1);
/* We still allow host banning while not allowing to kick */