From 14ceeafb1d88dd688a9ad428988f29e562dbacf0 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 19:17:47 +0000 Subject: Replaced anope_SendGlobalPrivmsg() with direct call to SendGlobalPrivmsg() in IRCDProto class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1339 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 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); } -- cgit