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: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/protocol/inspircd11.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/protocol/inspircd11.c')
-rw-r--r--src/protocol/inspircd11.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c
index a9bbe2eb3..669bcaec1 100644
--- a/src/protocol/inspircd11.c
+++ b/src/protocol/inspircd11.c
@@ -421,7 +421,7 @@ void InspIRCdProto::set_umode(User *user, int ac, const char **av)
case 'o':
if (add) {
++opcnt;
- if (WallOper) anope_cmd_global(s_OperServ, "\2%s\2 is now an IRC operator.", user->nick);
+ if (WallOper) anope_SendGlobops(s_OperServ, "\2%s\2 is now an IRC operator.", user->nick);
display_news(user, NEWS_OPER);
}
else --opcnt;
@@ -529,7 +529,7 @@ void inspircd_cmd_chghost(const char *nick, const char *vhost)
}
send_cmd(s_OperServ, "CHGHOST %s %s", nick, vhost);
} else {
- anope_cmd_global(s_OperServ, "CHGHOST not loaded!");
+ anope_SendGlobops(s_OperServ, "CHGHOST not loaded!");
}
}
@@ -759,13 +759,13 @@ void InspIRCdProto::cmd_server(const char *servname, int hop, const char *descri
}
/* JOIN */
-void InspIRCdProto::cmd_join(const char *user, const char *channel, time_t chantime)
+void InspIRCdProto::SendJoin(const char *user, const char *channel, time_t chantime)
{
send_cmd(user, "JOIN %s", channel);
}
/* UNSQLINE */
-void InspIRCdProto::cmd_unsqline(const char *user)
+void InspIRCdProto::SendSQLineDel(const char *user)
{
if (!user) return;
send_cmd(s_OperServ, "QLINE %s", user);
@@ -780,7 +780,7 @@ void inspircd_cmd_chgident(const char *nick, const char *vIdent)
}
send_cmd(s_OperServ, "CHGIDENT %s %s", nick, vIdent);
} else {
- anope_cmd_global(s_OperServ, "CHGIDENT not loaded!");
+ anope_SendGlobops(s_OperServ, "CHGIDENT not loaded!");
}
}
@@ -825,7 +825,7 @@ int anope_event_ping(const char *source, int ac, const char **av)
if (ac < 1)
return MOD_CONT;
/* ((ac > 1) ? av[1] : ServerName) */
- ircd_proto.cmd_pong(ServerName, av[0]);
+ ircd_proto.SendPong(ServerName, av[0]);
return MOD_CONT;
}
@@ -1212,13 +1212,13 @@ int anope_event_capab(const char *source, int ac, const char **av)
return MOD_STOP;
}
if (!has_svsholdmod) {
- anope_cmd_global(s_OperServ, "SVSHOLD missing, Usage disabled until module is loaded.");
+ anope_SendGlobops(s_OperServ, "SVSHOLD missing, Usage disabled until module is loaded.");
}
if (!has_chghostmod) {
- anope_cmd_global(s_OperServ, "CHGHOST missing, Usage disabled until module is loaded.");
+ anope_SendGlobops(s_OperServ, "CHGHOST missing, Usage disabled until module is loaded.");
}
if (!has_chgidentmod) {
- anope_cmd_global(s_OperServ, "CHGIDENT missing, Usage disabled until module is loaded.");
+ anope_SendGlobops(s_OperServ, "CHGIDENT missing, Usage disabled until module is loaded.");
}
if (has_messagefloodmod) {
cbmi = myCbmodeinfos;