diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
commit | 6fa5553b4ba46641b94025cfee7de07550823fdf (patch) | |
tree | 2ef8e76a7f2125819bc4055c7117bd12899d7292 /src/send.c | |
parent | efb458a927ce9b0d3542c0fe6093c898f171f036 (diff) |
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
Diffstat (limited to 'src/send.c')
-rw-r--r-- | src/send.c | 10 |
1 files changed, 5 insertions, 5 deletions
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); } |