diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:16:57 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:16:57 +0000 |
commit | 5e6a653e48a74318f205632a21fb525aac1cf0cc (patch) | |
tree | bb56749b4dd3c2732ec3884631c328bc972e5992 /src | |
parent | d9771fe0aa0d9270279c4f52f4231ece79adbe19 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/ircd.c | 5 | ||||
-rw-r--r-- | src/send.c | 2 |
2 files changed, 1 insertions, 6 deletions
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); } |