summaryrefslogtreecommitdiff
path: root/src/send.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:10 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:10 +0000
commitd64b3aa890976ef888c11e1c24da5b692f1d67d3 (patch)
treec58cfc10f8765af1869d6e76d140391aeb5599d9 /src/send.c
parente6111d9ff4cb897b5c8bd00fcde339ffce1b66bf (diff)
Remove anope_cmd_privmsg2 (it's identical to anope_cmd_privmsg!)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1207 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/send.c')
-rw-r--r--src/send.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/send.c b/src/send.c
index accf6a680..a63624234 100644
--- a/src/send.c
+++ b/src/send.c
@@ -172,7 +172,7 @@ void notice_lang(const char *source, User * dest, int message, ...)
if (UsePrivmsg && ((!dest->na && (NSDefFlags & NI_MSG))
|| (dest->na
&& (dest->na->nc->flags & NI_MSG)))) {
- anope_cmd_privmsg2(source, dest->nick, *t ? t : " ");
+ anope_cmd_privmsg(source, dest->nick, *t ? t : " ");
} else {
anope_cmd_notice2(source, dest->nick, *t ? t : " ");
}
@@ -228,7 +228,7 @@ void notice_help(const char *source, User * dest, int message, ...)
if (UsePrivmsg && ((!dest->na && (NSDefFlags & NI_MSG))
|| (dest->na
&& (dest->na->nc->flags & NI_MSG)))) {
- anope_cmd_privmsg2(source, dest->nick, *outbuf ? outbuf : " ");
+ anope_cmd_privmsg(source, dest->nick, *outbuf ? outbuf : " ");
} else {
anope_cmd_notice2(source, dest->nick, *outbuf ? outbuf : " ");
}
@@ -257,7 +257,7 @@ void notice(char *source, const char *dest, const char *fmt, ...)
vsnprintf(buf, BUFSIZE - 1, fmt, args);
if (NSDefFlags & NI_MSG) {
- anope_cmd_privmsg2(source, dest, buf);
+ anope_cmd_privmsg(source, dest, buf);
} else {
anope_cmd_notice2(source, dest, buf);
}
@@ -287,7 +287,7 @@ void privmsg(char *source, char *dest, const char *fmt, ...)
va_end(args);
}
- anope_cmd_privmsg2(source, dest, buf);
+ anope_cmd_privmsg(source, dest, buf);
}
/*************************************************************************/