diff options
| author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:41:34 +0000 |
|---|---|---|
| committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:41:34 +0000 |
| commit | c3964f7483b522f4b0b05d4275cbd72d638d489e (patch) | |
| tree | 54ba65ccb8138624d894d6cce092175888f481b6 /src/chanserv.c | |
| parent | 036c287376995bcf4e35f89fdf0e2036ba99b6dd (diff) | |
Replaced anope_SendJoin() with direct call to SendJoin() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1343 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/chanserv.c')
| -rw-r--r-- | src/chanserv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chanserv.c b/src/chanserv.c index 9df64be41..d5296ec43 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -1352,7 +1352,7 @@ int check_kick(User * user, const char *chan, time_t chants) * c may be NULL even if it exists */ if ((!(c = findchan(chan)) || c->usercount == 0) && !(ci->flags & CI_INHABIT)) { - anope_SendJoin(s_ChanServ, chan, (c ? c->creation_time : chants)); + ircdproto->SendJoin(s_ChanServ, chan, (c ? c->creation_time : chants)); /* Lets hide the channel from /list just incase someone does /list * while we are here. - katsklaw */ @@ -1448,7 +1448,7 @@ void restore_topic(const char *chan) } if (ircd->join2set) { if (whosends(ci) == s_ChanServ) { - anope_SendJoin(s_ChanServ, chan, c->creation_time); + ircdproto->SendJoin(s_ChanServ, chan, c->creation_time); ircdproto->SendMode(NULL, chan, "+o %s", s_ChanServ); } } @@ -1510,7 +1510,7 @@ int check_topiclock(Channel * c, time_t topic_time) if (ircd->join2set) { if (whosends(ci) == s_ChanServ) { - anope_SendJoin(s_ChanServ, c->name, c->creation_time); + ircdproto->SendJoin(s_ChanServ, c->name, c->creation_time); ircdproto->SendMode(NULL, c->name, "+o %s", s_ChanServ); } } |
