summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:39:28 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:39:28 +0000
commit809ed7c2c04f2c004be3f8f7d29ff3b4f0e3e0f7 (patch)
tree867a1c3ddb9ab32dde2449b1632d2f4f772c6285 /include
parentbd56c0fb93b06c1d5f58f83089f12eda5c9e82d9 (diff)
Convert various to new name scheme.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/depricated.h2
-rw-r--r--include/extern.h12
-rw-r--r--include/services.h12
3 files changed, 13 insertions, 13 deletions
diff --git a/include/depricated.h b/include/depricated.h
index 8f127441e..0be4108f7 100644
--- a/include/depricated.h
+++ b/include/depricated.h
@@ -35,7 +35,7 @@
#define s_sgline(mask, reason) anope_cmd_sgline(mask, reason)
#define s_szline(mask, reason) anope_cmd_szline(mask, reason)
#define s_unsgline(mask) anope_cmd_unsgline(mask)
-#define s_unsqline(mask) anope_cmd_unsqline(mask)
+#define s_unsqline(mask) anope_SendSQLineDel(mask)
#define s_unszline(mask) anope_cmd_unszline(mask)
#define s_rakill(user, host) anope_SendAkillDel(user, host)
diff --git a/include/extern.h b/include/extern.h
index 8a48bf69f..2bf286b00 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1123,9 +1123,9 @@ E void anope_cmd_vhost_on(const char *nick, const char *vIdent, const char *vhos
E void anope_SendVhostDel(User *u);
E void anope_cmd_connect(); /* Connect */
E void anope_cmd_ea(); /* EA */
-E void anope_cmd_global(const char *source, const char *fmt, ...); /* GLOBOPS */
-E void anope_cmd_invite(const char *source, const char *chan, const char *nick); /* INVITE */
-E void anope_cmd_join(const char *user, const char *channel, time_t chantime); /* JOIN */
+E void anope_SendGlobops(const char *source, const char *fmt, ...); /* GLOBOPS */
+E void anope_SendInvite(const char *source, const char *chan, const char *nick); /* INVITE */
+E void anope_SendJoin(const char *user, const char *channel, time_t chantime); /* JOIN */
E void anope_SendKick(const char *source, const char *chan, const char *user, const char *fmt, ...); /* KICK */
E void anope_SendMode(const char *source, const char *dest, const char *fmt, ...); /* MODE */
E void anope_cmd_tmode(const char *source, const char *dest, const char *fmt, ...); /* TMODE */
@@ -1139,9 +1139,9 @@ E void anope_cmd_message(const char *source, const char *dest, const char *fmt,
E void anope_SendNoticeChanops(const char *source, const char *dest, const char *fmt, ...); /* NOTICE */
E void anope_cmd_notice(const char *source, const char *dest, const char *msg); /* NOTICE */
E void anope_SendGlobalNotice(const char *source, const char *dest, const char *msg); /* NOTICE */
-E void anope_cmd_part(const char *nick, const char *chan, const char *fmt, ...); /* PART */
+E void anope_SendPart(const char *nick, const char *chan, const char *fmt, ...); /* PART */
E void anope_cmd_pass(const char *pass); /* PASS */
-E void anope_cmd_pong(const char *servname, const char *who); /* PONG */
+E void anope_SendPong(const char *servname, const char *who); /* PONG */
E void anope_cmd_privmsg(const char *source, const char *dest, const char *fmt, ...); /* PRIVMSG */
E void anope_cmd_action(const char *source, const char *dest, const char *fmt, ...); /* PRIVMSG */
E void anope_SendGlobalPrivmsg(const char *source, const char *dest, const char *msg); /* PRIVMSG */
@@ -1168,7 +1168,7 @@ E void anope_cmd_svspart(const char *source, const char *nick,const char *chan);
E void anope_cmd_swhois(const char *source, const char *who, const char *mask); /* SWHOIS */
E void anope_cmd_topic(const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when); /* TOPIC */
E void anope_cmd_unsgline(const char *mask); /* UNSGLINE */
-E void anope_cmd_unsqline(const char *user); /* UNSQLINE */
+E void anope_SendSQLineDel(const char *user); /* UNSQLINE */
E void anope_cmd_unszline(const char *mask); /* UNSZLINE */
E void anope_cmd_eob(); /* EOB - end of burst */
E void anope_cmd_burst(); /* BURST - use eob to send burst 0 */
diff --git a/include/services.h b/include/services.h
index f6feee436..d303c0e01 100644
--- a/include/services.h
+++ b/include/services.h
@@ -1273,24 +1273,24 @@ class IRCDProto {
if (buf) send_cmd(source, "QUIT :%s", buf);
else send_cmd(source, "QUIT");
}
- virtual void cmd_pong(const char *servname, const char *who)
+ virtual void SendPong(const char *servname, const char *who)
{
send_cmd(servname, "PONG %s", who);
}
- virtual void cmd_join(const char *, const char *, time_t) = 0;
- virtual void cmd_unsqline(const char *) = 0;
- virtual void cmd_invite(const char *source, const char *chan, const char *nick)
+ virtual void SendJoin(const char *, const char *, time_t) = 0;
+ virtual void SendSQLineDel(const char *) = 0;
+ virtual void SendInvite(const char *source, const char *chan, const char *nick)
{
if (!source || !chan || !nick) return;
send_cmd(source, "INVITE %s %s", nick, chan);
}
- virtual void cmd_part(const char *nick, const char *chan, const char *buf)
+ virtual void SendPart(const char *nick, const char *chan, const char *buf)
{
if (!nick || !chan) return;
if (buf) send_cmd(nick, "PART %s :%s", chan, buf);
else send_cmd(nick, "PART %s", chan);
}
- virtual void cmd_global(const char *source, const char *buf)
+ virtual void SendGlobops(const char *source, const char *buf)
{
if (!buf) return;
send_cmd(source ? source : ServerName, "GLOBOPS :%s", buf);