diff options
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | src/ircd.c | 5 | ||||
-rw-r--r-- | src/send.c | 2 |
3 files changed, 1 insertions, 7 deletions
diff --git a/include/extern.h b/include/extern.h index 93143361e..796dc011c 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1129,7 +1129,6 @@ E void anope_SendChangeBotNick(const char *oldnick, const char *newnick); E void anope_SendPart(const char *nick, const char *chan, const char *fmt, ...); /* PART */ E void anope_cmd_pass(const char *pass); /* PASS */ E void anope_SendPong(const char *servname, const char *who); /* PONG */ -E void anope_SendGlobalPrivmsg(const char *source, const char *dest, const char *msg); /* PRIVMSG */ E void anope_cmd_protoctl(); /* PROTOCTL */ E void anope_SendQuit(const char *source, const char *fmt, ...); /* QUIT */ E void anope_SendSGLine(const char *mask, const char *reason); /* SGLINE */ diff --git a/src/ircd.c b/src/ircd.c index 9ff329390..ff6fc51ea 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av) ircdproto->ProcessUsermodes(user, ac, av); } -void anope_SendGlobalPrivmsg(const char *source, const char *dest, const char *msg) -{ - ircdproto->SendGlobalPrivmsg(source, dest, msg); -} - void anope_SendBotOp(const char *nick, const char *chan) { ircdproto->SendBotOp(nick, chan); diff --git a/src/send.c b/src/send.c index c61c932af..939268710 100644 --- a/src/send.c +++ b/src/send.c @@ -102,7 +102,7 @@ void notice_server(char *source, Server * s, char *fmt, ...) vsnprintf(buf, BUFSIZE - 1, fmt, args); if (NSDefFlags & NI_MSG) { - anope_SendGlobalPrivmsg(source, s->name, buf); + ircdproto->SendGlobalPrivmsg(source, s->name, buf); } else { ircdproto->SendGlobalNotice(source, s->name, buf); } |