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/ircd.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/ircd.c')
| -rw-r--r-- | src/ircd.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ircd.c b/src/ircd.c index 30ffcfd3c..f347e0014 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -43,18 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av) ircdproto->ProcessUsermodes(user, ac, av); } -void anope_SendKick(const char *source, const char *chan, const char *user, const char *fmt, ...) -{ - va_list args; - char buf[BUFSIZE] = ""; - if (fmt) { - va_start(args, fmt); - vsnprintf(buf, BUFSIZE - 1, fmt, args); - va_end(args); - } - ircdproto->SendKick(source, chan, user, buf); -} - void anope_SendNoticeChanops(const char *source, const char *dest, const char *fmt, ...) { va_list args; |
