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 a53b4f603..93143361e 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1126,7 +1126,6 @@ E void anope_SendBanDel(const char *name, const char *nick); / E void anope_SendBotOp(const char *nick, const char *chan); /* MODE BotServ */ E void anope_cmd_netinfo(int ac, const char **av); /* NETINFO */ E void anope_SendChangeBotNick(const char *oldnick, const char *newnick); /* NICK */ -E void anope_SendGlobalNotice(const char *source, const char *dest, const char *msg); /* NOTICE */ 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 */ diff --git a/src/ircd.c b/src/ircd.c index 90774fd7c..9ff329390 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_SendGlobalNotice(const char *source, const char *dest, const char *msg) -{ - ircdproto->SendGlobalNotice(source, dest, msg); -} - void anope_SendGlobalPrivmsg(const char *source, const char *dest, const char *msg) { ircdproto->SendGlobalPrivmsg(source, dest, msg); diff --git a/src/send.c b/src/send.c index 4da656d7f..c61c932af 100644 --- a/src/send.c +++ b/src/send.c @@ -104,7 +104,7 @@ void notice_server(char *source, Server * s, char *fmt, ...) if (NSDefFlags & NI_MSG) { anope_SendGlobalPrivmsg(source, s->name, buf); } else { - anope_SendGlobalNotice(source, s->name, buf); + ircdproto->SendGlobalNotice(source, s->name, buf); } va_end(args); } |