diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 18:26:56 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 18:26:56 +0000 |
commit | 0ded22502384bd69c45fbc2ecd9d99172ff51910 (patch) | |
tree | ccb656e76d66ea2c46125231daf95a8dff52a9f6 /src/ircd.c | |
parent | a29d23a06e3ba98c793cffecae1bf682f251178d (diff) |
Replaced anope_SendMode() with direct call to SendMode() in IRCDProto class.
Also added SendModeInternal() function to IRCDProto class, now SendMode() is a stub to handle varargs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1329 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 12225798d..85e55f9fc 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_SendMode(const char *source, const char *dest, 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->SendMode(source, dest, buf); -} - void anope_SendClientIntroduction(const char *nick, const char *user, const char *host, const char *real, const char *modes) { ircdproto->SendClientIntroduction(nick, user, host, real, modes); |