diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 18:04:29 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 18:04:29 +0000 |
commit | 70501666e8a31d2e959639fd0dba0e06d5005080 (patch) | |
tree | 798a63d5ec2d4e1506fdfd8887ac980c45ae34d4 /src/ircd.c | |
parent | af0bf80a07b0a525175c05bc04f61c364ac4bca7 (diff) |
Replaced anope_SendSVSKill() with direct call to SendSVSKill() in IRCDProto class.
Also added SendSVSKillInternal() function to IRCDProto class, now SendSVSKill() is a stub to handle varargs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1326 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 821f94709..25629250a 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_SendSVSKill(const char *source, 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->SendSVSKill(source, user, buf); -} - void anope_SendSVSMode(User *u, int ac, const char **av) { ircdproto->SendSVSMode(u, ac, av); |