From 6fa5553b4ba46641b94025cfee7de07550823fdf Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:11 +0000 Subject: Added cmd_notice() function to IRCDProtoNew class. (Replaces cmd_notice2) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1229 5417fbe8-f217-4b02-8779-1006273d7864 --- src/send.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/send.c') diff --git a/src/send.c b/src/send.c index e17e69e87..4f4a9aeb1 100644 --- a/src/send.c +++ b/src/send.c @@ -123,9 +123,9 @@ void notice_list(char *source, char *dest, char **text) * with a single space. */ if (**text) { - anope_cmd_notice2(source, dest, *text); + anope_cmd_notice(source, dest, *text); } else { - anope_cmd_notice2(source, dest, " "); + anope_cmd_notice(source, dest, " "); } text++; } @@ -174,7 +174,7 @@ void notice_lang(const char *source, User * dest, int message, ...) && (dest->na->nc->flags & NI_MSG)))) { anope_cmd_privmsg(source, dest->nick, *t ? t : " "); } else { - anope_cmd_notice2(source, dest->nick, *t ? t : " "); + anope_cmd_notice(source, dest->nick, *t ? t : " "); } } va_end(args); @@ -230,7 +230,7 @@ void notice_help(const char *source, User * dest, int message, ...) && (dest->na->nc->flags & NI_MSG)))) { anope_cmd_privmsg(source, dest->nick, *outbuf ? outbuf : " "); } else { - anope_cmd_notice2(source, dest->nick, *outbuf ? outbuf : " "); + anope_cmd_notice(source, dest->nick, *outbuf ? outbuf : " "); } } va_end(args); @@ -259,7 +259,7 @@ void notice(char *source, const char *dest, const char *fmt, ...) if (NSDefFlags & NI_MSG) { anope_cmd_privmsg(source, dest, buf); } else { - anope_cmd_notice2(source, dest, buf); + anope_cmd_notice(source, dest, buf); } va_end(args); } -- cgit