summaryrefslogtreecommitdiff
path: root/src/ircd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 5a75668ee..39e17df7c 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -72,19 +72,6 @@ void anope_cmd_action(const char *source, const char *dest, const char *fmt, ...
ircdproto->SendPrivmsg(bi, dest, actionbuf);
}
-void anope_cmd_privmsg(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);
- }
- BotInfo *bi = findbot(source);
- ircdproto->SendPrivmsg(bi, dest, buf);
-}
-
void anope_SendGlobalNotice(const char *source, const char *dest, const char *msg)
{
ircdproto->SendGlobalNotice(source, dest, msg);