summaryrefslogtreecommitdiff
path: root/src/ircd.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:37:14 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:37:14 +0000
commitbd56c0fb93b06c1d5f58f83089f12eda5c9e82d9 (patch)
treea99c35c6cc7cafcad8f85a96927c80b40ebb3fb2 /src/ircd.c
parentdae48c47929a9a6341b90412cc551d01d89613e6 (diff)
Global NOTICE/PRIVMSG, QUIT.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1305 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ircd.c b/src/ircd.c
index ba84da7c9..4a46b69d8 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -175,14 +175,14 @@ void anope_cmd_privmsg(const char *source, const char *dest, const char *fmt, ..
ircdproto->cmd_privmsg(source, dest, buf);
}
-void anope_cmd_serv_notice(const char *source, const char *dest, const char *msg)
+void anope_SendGlobalNotice(const char *source, const char *dest, const char *msg)
{
- ircdproto->cmd_serv_notice(source, dest, msg);
+ ircdproto->SendGlobalNotice(source, dest, msg);
}
-void anope_cmd_serv_privmsg(const char *source, const char *dest, const char *msg)
+void anope_SendGlobalPrivmsg(const char *source, const char *dest, const char *msg)
{
- ircdproto->cmd_serv_privmsg(source, dest, msg);
+ ircdproto->SendGlobalPrivmsg(source, dest, msg);
}
void anope_SendBotOp(const char *nick, const char *chan)
@@ -190,7 +190,7 @@ void anope_SendBotOp(const char *nick, const char *chan)
ircdproto->SendBotOp(nick, chan);
}
-void anope_cmd_quit(const char *source, const char *fmt, ...)
+void anope_SendQuit(const char *source, const char *fmt, ...)
{
va_list args;
char buf[BUFSIZE] = "";
@@ -199,7 +199,7 @@ void anope_cmd_quit(const char *source, const char *fmt, ...)
vsnprintf(buf, BUFSIZE - 1, fmt, args);
va_end(args);
}
- ircdproto->cmd_quit(source, buf);
+ ircdproto->SendQuit(source, buf);
}
void anope_cmd_pong(const char *servname, const char *who)