summaryrefslogtreecommitdiff
path: root/src/protocol/obsolete/ptlink.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/protocol/obsolete/ptlink.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/protocol/obsolete/ptlink.c')
-rw-r--r--src/protocol/obsolete/ptlink.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/protocol/obsolete/ptlink.c b/src/protocol/obsolete/ptlink.c
index e9877cb2c..146f2bf98 100644
--- a/src/protocol/obsolete/ptlink.c
+++ b/src/protocol/obsolete/ptlink.c
@@ -1035,12 +1035,12 @@ void ptlink_cmd_privmsg2(const char *source, const char *dest, const char *msg)
send_cmd(source, "PRIVMSG %s :%s", dest, msg);
}
-void ptlink_cmd_serv_notice(const char *source, const char *dest, const char *msg)
+void ptlink_SendGlobalNotice(const char *source, const char *dest, const char *msg)
{
send_cmd(source, "NOTICE $%s :%s", dest, msg);
}
-void ptlink_cmd_serv_privmsg(const char *source, const char *dest, const char *msg)
+void ptlink_SendGlobalPrivmsg(const char *source, const char *dest, const char *msg)
{
send_cmd(source, "PRIVMSG $%s :%s", dest, msg);
}
@@ -1222,7 +1222,7 @@ void ptlink_SendKick(const char *source, const char *chan, const char *user, con
}
/* QUIT */
-void ptlink_cmd_quit(const char *source, const char *buf)
+void ptlink_SendQuit(const char *source, const char *buf)
{
if (buf) {
send_cmd(source, "QUIT :%s", buf);
@@ -1701,11 +1701,11 @@ void moduleAddAnopeCmds()
pmodule_cmd_notice2(ptlink_cmd_notice2);
pmodule_cmd_privmsg(ptlink_cmd_privmsg);
pmodule_cmd_privmsg2(ptlink_cmd_privmsg2);
- pmodule_cmd_serv_notice(ptlink_cmd_serv_notice);
- pmodule_cmd_serv_privmsg(ptlink_cmd_serv_privmsg);
+ pmodule_SendGlobalNotice(ptlink_cmd_serv_notice);
+ pmodule_SendGlobalPrivmsg(ptlink_cmd_serv_privmsg);
pmodule_SendBotOp(ptlink_cmd_bot_chan_mode);
pmodule_cmd_351(ptlink_cmd_351);
- pmodule_cmd_quit(ptlink_cmd_quit);
+ pmodule_SendQuit(ptlink_cmd_quit);
pmodule_cmd_pong(ptlink_cmd_pong);
pmodule_cmd_join(ptlink_cmd_join);
pmodule_cmd_unsqline(ptlink_cmd_unsqline);