diff options
| author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 20:35:07 +0000 |
|---|---|---|
| committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 20:35:07 +0000 |
| commit | f3f1b97a1ab782a3419fe20ae06d3e3535a4ddae (patch) | |
| tree | 004dcd0bff848882bc61c0383966c127cef62e38 /src/chanserv.c | |
| parent | de32f2b192aed5e5daceb118739ce9da91bb0403 (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/chanserv.c')
| -rw-r--r-- | src/chanserv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chanserv.c b/src/chanserv.c index d5296ec43..3472db927 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -1244,7 +1244,7 @@ static void timeout_leave(Timeout * to) if (ci) /* Check cos the channel may be dropped in the meantime */ ci->flags &= ~CI_INHABIT; - anope_SendPart(s_ChanServ, chan, NULL); + ircdproto->SendPart(s_ChanServ, chan, NULL); free(to->data); } @@ -1456,7 +1456,7 @@ void restore_topic(const char *chan) c->topic ? c->topic : "", c->topic_time); if (ircd->join2set) { if (whosends(ci) == s_ChanServ) { - anope_SendPart(s_ChanServ, c->name, NULL); + ircdproto->SendPart(s_ChanServ, c->name, NULL); } } } @@ -1520,7 +1520,7 @@ int check_topiclock(Channel * c, time_t topic_time) if (ircd->join2set) { if (whosends(ci) == s_ChanServ) { - anope_SendPart(s_ChanServ, c->ci->name, NULL); + ircdproto->SendPart(s_ChanServ, c->ci->name, NULL); } } return 1; @@ -1778,7 +1778,7 @@ int delchan(ChannelInfo * ci) } if (ci->c) { if (ci->bi && ci->c->usercount >= BSMinUsers) { - anope_SendPart(ci->bi->nick, ci->c->name, NULL); + ircdproto->SendPart(ci->bi->nick, ci->c->name, NULL); } ci->c->ci = NULL; } |
