summaryrefslogtreecommitdiff
path: root/src/channels.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 20:35:07 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 20:35:07 +0000
commitf3f1b97a1ab782a3419fe20ae06d3e3535a4ddae (patch)
tree004dcd0bff848882bc61c0383966c127cef62e38 /src/channels.c
parentde32f2b192aed5e5daceb118739ce9da91bb0403 (diff)
Replaced anope_SendPart() with direct call to SendPart() in IRCDProto class.
Added SendPartInternal() function to IRCDProto class, now SendPart() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1346 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/channels.c')
-rw-r--r--src/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.c b/src/channels.c
index 97d2e698a..ad1219293 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_SendPart(c->ci->bi->nick, c->name, NULL);
+ ircdproto->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_SendPart(c->ci->bi->nick, c->name, "TS reop");
+ ircdproto->SendPart(c->ci->bi->nick, c->name, "TS reop");
bot_join(c->ci);
}
/* XXX simple modes and bans */