summaryrefslogtreecommitdiff
path: root/src/ircd.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:25:27 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:25:27 +0000
commit50db0bb6807382c78f67a77670ecccf8038207a6 (patch)
treecb25b194d8b335919dce7655f2f2f1c2a0e71483 /src/ircd.c
parent877791d8b63ee88f4edf9bcd2261a6bbafcde8af (diff)
Replaced anope_SendQuit() with direct call to SendQuit() in IRCDProto class.
Added SendQuitInternal() to IRCDProto class, now SendQuit() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1341 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 961c2aee1..818becd50 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_SendQuit(const char *source, 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->SendQuit(source, buf);
-}
-
void anope_SendPong(const char *servname, const char *who)
{
ircdproto->SendPong(servname, who);