diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:29:56 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:29:56 +0000 |
commit | 5d695b7bf69eada724742fe7cbdf92b609a0858e (patch) | |
tree | c0cdb47b73c6b1176d7c3d523c60fc7675e4a3d3 /src/core/cs_ban.c | |
parent | c8d4ff56a17d55ad886096c85e03f6ea12734f5d (diff) |
Guest nicks, MODE.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1301 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_ban.c')
-rw-r--r-- | src/core/cs_ban.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_ban.c b/src/core/cs_ban.c index fa8b9ee97..3ddc70995 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_cmd_mode(whosends(ci), uc->chan->name, "+b %s", + anope_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_cmd_mode(whosends(ci), c->name, "+b %s", av[1]); + anope_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 */ |