diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | f9b628b0d37844e66a8d2acae797a81444df78ba (patch) | |
tree | 64be8440b22051b5c2433969395747ca1221db34 /src/send.c | |
parent | d64b3aa890976ef888c11e1c24da5b692f1d67d3 (diff) |
Remove legacy global function.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1208 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/send.c')
-rw-r--r-- | src/send.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/send.c b/src/send.c index a63624234..e17e69e87 100644 --- a/src/send.c +++ b/src/send.c @@ -290,26 +290,4 @@ void privmsg(char *source, char *dest, const char *fmt, ...) anope_cmd_privmsg(source, dest, buf); } -/*************************************************************************/ -/** - * Send out a WALLOP, this is here for legacy only, same day we will pull it out - * @param source Orgin of the Message - * @param fmt Format of the Message - * @param ... any number of parameters - * @return void - */ -void wallops(const char *source, const char *fmt, ...) -{ - va_list args; - char buf[BUFSIZE]; - *buf = '\0'; - - if (fmt) { - va_start(args, fmt); - vsnprintf(buf, BUFSIZE - 1, fmt, args); - va_end(args); - } - - anope_cmd_global_legacy(source, buf); -} |