1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 19:23:12 +02:00

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
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-09-30 18:45:11 +00:00
parent efb458a927
commit 6fa5553b4b
15 changed files with 25 additions and 69 deletions
+5 -5
View File
@@ -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);
}