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/ircd.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/ircd.c')
-rw-r--r-- | src/ircd.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ircd.c b/src/ircd.c index 14d099b1c..41710389a 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -43,19 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av) ircdproto->ProcessUsermodes(user, ac, av); } -void anope_SendPart(const char *nick, const char *chan, const char *fmt, ...) -{ - if (fmt) { - va_list args; - char buf[BUFSIZE] = ""; - va_start(args, fmt); - vsnprintf(buf, BUFSIZE - 1, fmt, args); - va_end(args); - ircdproto->SendPart(nick, chan, buf); - } - else ircdproto->SendPart(nick, chan, NULL); -} - void anope_SendGlobops(const char *source, const char *fmt, ...) { va_list args; |