diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:39:28 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:39:28 +0000 |
| commit | 809ed7c2c04f2c004be3f8f7d29ff3b4f0e3e0f7 (patch) | |
| tree | 867a1c3ddb9ab32dde2449b1632d2f4f772c6285 /src/channels.c | |
| parent | bd56c0fb93b06c1d5f58f83089f12eda5c9e82d9 (diff) | |
Convert various to new name scheme.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/channels.c')
| -rw-r--r-- | src/channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.c b/src/channels.c index 7be1dfbbd..7a72a29c0 100644 --- a/src/channels.c +++ b/src/channels.c @@ -49,7 +49,7 @@ void chan_deluser(User * user, Channel * c) c->usercount--; if (s_BotServ && c->ci && c->ci->bi && c->usercount == BSMinUsers - 1) { - anope_cmd_part(c->ci->bi->nick, c->name, NULL); + anope_SendPart(c->ci->bi->nick, c->name, NULL); } if (!c->users) @@ -790,7 +790,7 @@ void do_sjoin(const char *source, int ac, const char **av) } if (c->ci && c->ci->bi) { /* This is ugly, but it always works */ - anope_cmd_part(c->ci->bi->nick, c->name, "TS reop"); + anope_SendPart(c->ci->bi->nick, c->name, "TS reop"); bot_join(c->ci); } /* XXX simple modes and bans */ |
