summaryrefslogtreecommitdiff
path: root/src/protocol/inspircd11.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:49:02 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:49:02 +0000
commita11aa3e4937301cc22c484594249ddd82e5511bd (patch)
tree51bbf5009c6d22bbfea59ebe53919a4b5bc40ec3 /src/protocol/inspircd11.c
parent55bf54a30532cfeff5bb813617d013761212a64b (diff)
Convert a bunch more protocol stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1308 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/inspircd11.c')
-rw-r--r--src/protocol/inspircd11.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c
index 48063295d..77d84eb93 100644
--- a/src/protocol/inspircd11.c
+++ b/src/protocol/inspircd11.c
@@ -807,7 +807,7 @@ void InspIRCdProto::SendVhost(const char *nick, const char *vIdent, const char *
inspircd_cmd_chghost(nick, vhost);
}
-void InspIRCdProto::cmd_connect()
+void InspIRCdProto::SendConnect()
{
if (servernum == 1) inspircd_cmd_pass(RemotePassword);
else if (servernum == 2) inspircd_cmd_pass(RemotePassword2);
@@ -1279,25 +1279,25 @@ int anope_event_capab(const char *source, int ac, const char **av)
}
/* SVSHOLD - set */
-void InspIRCdProto::cmd_svshold(const char *nick)
+void InspIRCdProto::SendSVSHOLD(const char *nick)
{
send_cmd(s_OperServ, "SVSHOLD %s %ds :%s", nick, NSReleaseTimeout, "Being held for registered user");
}
/* SVSHOLD - release */
-void InspIRCdProto::cmd_release_svshold(const char *nick)
+void InspIRCdProto::SendSVSHOLDDel(const char *nick)
{
send_cmd(s_OperServ, "SVSHOLD %s", nick);
}
/* UNSZLINE */
-void InspIRCdProto::cmd_unszline(const char *mask)
+void InspIRCdProto::SendSZLineDel(const char *mask)
{
send_cmd(s_OperServ, "ZLINE %s", mask);
}
/* SZLINE */
-void InspIRCdProto::cmd_szline(const char *mask, const char *reason, const char *whom)
+void InspIRCdProto::SendSZLine(const char *mask, const char *reason, const char *whom)
{
send_cmd(ServerName, "ADDLINE Z %s %s %ld 0 :%s", mask, whom, static_cast<long>(time(NULL)), reason);
}