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: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 /src/ircd.c
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 'src/ircd.c')
-rw-r--r--src/ircd.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 4a46b69d8..a8b60756f 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -202,27 +202,27 @@ void anope_SendQuit(const char *source, const char *fmt, ...)
ircdproto->SendQuit(source, buf);
}
-void anope_cmd_pong(const char *servname, const char *who)
+void anope_SendPong(const char *servname, const char *who)
{
- ircdproto->cmd_pong(servname, who);
+ ircdproto->SendPong(servname, who);
}
-void anope_cmd_join(const char *user, const char *channel, time_t chantime)
+void anope_SendJoin(const char *user, const char *channel, time_t chantime)
{
- ircdproto->cmd_join(user, channel, chantime);
+ ircdproto->SendJoin(user, channel, chantime);
}
-void anope_cmd_unsqline(const char *user)
+void anope_SendSQLineDel(const char *user)
{
- ircdproto->cmd_unsqline(user);
+ ircdproto->SendSQLineDel(user);
}
-void anope_cmd_invite(const char *source, const char *chan, const char *nick)
+void anope_SendInvite(const char *source, const char *chan, const char *nick)
{
- ircdproto->cmd_invite(source, chan, nick);
+ ircdproto->SendInvite(source, chan, nick);
}
-void anope_cmd_part(const char *nick, const char *chan, const char *fmt, ...)
+void anope_SendPart(const char *nick, const char *chan, const char *fmt, ...)
{
if (fmt) {
va_list args;
@@ -230,12 +230,12 @@ void anope_cmd_part(const char *nick, const char *chan, const char *fmt, ...)
va_start(args, fmt);
vsnprintf(buf, BUFSIZE - 1, fmt, args);
va_end(args);
- ircdproto->cmd_part(nick, chan, buf);
+ ircdproto->SendPart(nick, chan, buf);
}
- else ircdproto->cmd_part(nick, chan, NULL);
+ else ircdproto->SendPart(nick, chan, NULL);
}
-void anope_cmd_global(const char *source, const char *fmt, ...)
+void anope_SendGlobops(const char *source, const char *fmt, ...)
{
va_list args;
char buf[BUFSIZE] = "";
@@ -244,7 +244,7 @@ void anope_cmd_global(const char *source, const char *fmt, ...)
vsnprintf(buf, BUFSIZE - 1, fmt, args);
va_end(args);
}
- ircdproto->cmd_global(source, buf);
+ ircdproto->SendGlobops(source, buf);
}
void anope_cmd_sqline(const char *mask, const char *reason)