diff options
| author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 18:37:32 +0000 |
|---|---|---|
| committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 18:37:32 +0000 |
| commit | 765f561952d1a77a445128d7cbdc0da0a16c1706 (patch) | |
| tree | b8a8995e95e5450d5f21fc931673478fb57054eb /src/channels.c | |
| parent | 984779a0f3a9e563844f7a4e2b695d1aa2b10c35 (diff) | |
Replaced anope_SendKick() with direct call to SendKick() in IRCDProto class.
Also added SendKickInternal() function to IRCDProto class, now SendKick() is a stub to handle varargs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1331 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/channels.c')
| -rw-r--r-- | src/channels.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/channels.c b/src/channels.c index 3fe38c141..5290826f6 100644 --- a/src/channels.c +++ b/src/channels.c @@ -872,7 +872,7 @@ void do_sjoin(const char *source, int ac, const char **av) } if (is_sqlined && !is_oper(user)) { - anope_SendKick(s_OperServ, av[1], s, "Q-Lined"); + ircdproto->SendKick(s_OperServ, av[1], s, "Q-Lined"); } else { if (!check_kick(user, av[1], ts)) { send_event(EVENT_JOIN_CHANNEL, 3, EVENT_START, @@ -957,7 +957,7 @@ void do_sjoin(const char *source, int ac, const char **av) } if (is_sqlined && !is_oper(user)) { - anope_SendKick(s_OperServ, av[1], s, "Q-Lined"); + ircdproto->SendKick(s_OperServ, av[1], s, "Q-Lined"); } else { if (!check_kick(user, av[1], ts)) { send_event(EVENT_JOIN_CHANNEL, 3, EVENT_START, @@ -1032,7 +1032,7 @@ void do_sjoin(const char *source, int ac, const char **av) } if (is_sqlined && !is_oper(user)) { - anope_SendKick(s_OperServ, av[1], s, "Q-Lined"); + ircdproto->SendKick(s_OperServ, av[1], s, "Q-Lined"); } else { if (!check_kick(user, av[1], ts)) { send_event(EVENT_JOIN_CHANNEL, 3, EVENT_START, @@ -1093,7 +1093,7 @@ void do_sjoin(const char *source, int ac, const char **av) } if (is_sqlined && !is_oper(user)) { - anope_SendKick(s_OperServ, av[1], user->nick, "Q-Lined"); + ircdproto->SendKick(s_OperServ, av[1], user->nick, "Q-Lined"); } else { send_event(EVENT_JOIN_CHANNEL, 3, EVENT_START, user->nick, av[1]); |
