summaryrefslogtreecommitdiff
path: root/src/send.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 18:58:23 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 18:58:23 +0000
commit8001cc147dded5bb8acefe6cb93d6defb3f92562 (patch)
tree992174ee5e58a4b57b0d745020849fa8902b3d8b /src/send.c
parenta22c4bf1daa18e11141a94ecd20dfd8af4944adb (diff)
Replaced anope_cmd_notice() with direct call to SendNotice() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1334 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/send.c')
-rw-r--r--src/send.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/send.c b/src/send.c
index d99b08dab..5911dda44 100644
--- a/src/send.c
+++ b/src/send.c
@@ -153,9 +153,9 @@ void notice_list(char *source, char *dest, char **text)
* with a single space.
*/
if (**text) {
- anope_cmd_notice(source, dest, *text);
+ ircdproto->SendNotice(source, dest, *text);
} else {
- anope_cmd_notice(source, dest, " ");
+ ircdproto->SendNotice(source, dest, " ");
}
text++;
}
@@ -204,7 +204,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_notice(source, dest->nick, *t ? t : " ");
+ ircdproto->SendNotice(source, dest->nick, *t ? t : " ");
}
}
va_end(args);
@@ -260,7 +260,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_notice(source, dest->nick, *outbuf ? outbuf : " ");
+ ircdproto->SendNotice(source, dest->nick, *outbuf ? outbuf : " ");
}
}
va_end(args);
@@ -289,7 +289,7 @@ void notice(char *source, const char *dest, const char *fmt, ...)
if (NSDefFlags & NI_MSG) {
anope_cmd_privmsg(source, dest, buf);
} else {
- anope_cmd_notice(source, dest, buf);
+ ircdproto->SendNotice(source, dest, buf);
}
va_end(args);
}