From 5e6a653e48a74318f205632a21fb525aac1cf0cc Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 19:16:57 +0000 Subject: Replaced anope_SendGlobalNotice() with direct call to SendGlobalNotice() in IRCDProto class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1338 5417fbe8-f217-4b02-8779-1006273d7864 --- src/ircd.c | 5 ----- src/send.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src') 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); } -- cgit