summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-28 18:44:49 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-28 18:44:49 +0000
commitce9b1289c672d3d6b9cadec865754710bc1b80f7 (patch)
tree376b722a0fe72d86faf079f591c7d31e61369a2c /src/commands
parent4840d5e77572f42b710501912d59b5dbb6d2c2af (diff)
PERL PIE FOR ALL: Rename a fuckload of XLineManager's methods
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8399 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cmd_eline.cpp4
-rw-r--r--src/commands/cmd_gline.cpp6
-rw-r--r--src/commands/cmd_kline.cpp6
-rw-r--r--src/commands/cmd_qline.cpp6
-rw-r--r--src/commands/cmd_zline.cpp6
5 files changed, 14 insertions, 14 deletions
diff --git a/src/commands/cmd_eline.cpp b/src/commands/cmd_eline.cpp
index bd9832c8a..2b1f8d803 100644
--- a/src/commands/cmd_eline.cpp
+++ b/src/commands/cmd_eline.cpp
@@ -37,7 +37,7 @@ CmdResult CommandEline::Handle (const char** parameters, int pcnt, User *user)
}
long duration = ServerInstance->Duration(parameters[1]);
- if (ServerInstance->XLines->add_eline(duration,user->nick,parameters[2],parameters[0]))
+ if (ServerInstance->XLines->AddELine(duration,user->nick,parameters[2],parameters[0]))
{
FOREACH_MOD(I_OnAddELine,OnAddELine(duration, user, parameters[2], parameters[0]));
@@ -59,7 +59,7 @@ CmdResult CommandEline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->del_eline(parameters[0]))
+ if (ServerInstance->XLines->DelELine(parameters[0]))
{
FOREACH_MOD(I_OnDelELine,OnDelELine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed E-line on %s.",user->nick,parameters[0]);
diff --git a/src/commands/cmd_gline.cpp b/src/commands/cmd_gline.cpp
index 411df7b14..e254ac6ed 100644
--- a/src/commands/cmd_gline.cpp
+++ b/src/commands/cmd_gline.cpp
@@ -42,7 +42,7 @@ CmdResult CommandGline::Handle (const char** parameters, int pcnt, User *user)
}
long duration = ServerInstance->Duration(parameters[1]);
- if (ServerInstance->XLines->add_gline(duration,user->nick,parameters[2],parameters[0]))
+ if (ServerInstance->XLines->AddGLine(duration,user->nick,parameters[2],parameters[0]))
{
FOREACH_MOD(I_OnAddGLine,OnAddGLine(duration, user, parameters[2], parameters[0]));
@@ -57,7 +57,7 @@ CmdResult CommandGline::Handle (const char** parameters, int pcnt, User *user)
ServerInstance->TimeString(c_requires_crap).c_str());
}
- ServerInstance->XLines->apply_lines();
+ ServerInstance->XLines->ApplyLines();
}
else
{
@@ -67,7 +67,7 @@ CmdResult CommandGline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->del_gline(parameters[0]))
+ if (ServerInstance->XLines->DelGLine(parameters[0]))
{
FOREACH_MOD(I_OnDelGLine,OnDelGLine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed G-line on %s.",user->nick,parameters[0]);
diff --git a/src/commands/cmd_kline.cpp b/src/commands/cmd_kline.cpp
index 521159790..14cd552ec 100644
--- a/src/commands/cmd_kline.cpp
+++ b/src/commands/cmd_kline.cpp
@@ -42,7 +42,7 @@ CmdResult CommandKline::Handle (const char** parameters, int pcnt, User *user)
}
long duration = ServerInstance->Duration(parameters[1]);
- if (ServerInstance->XLines->add_kline(duration,user->nick,parameters[2],parameters[0]))
+ if (ServerInstance->XLines->AddKLine(duration,user->nick,parameters[2],parameters[0]))
{
FOREACH_MOD(I_OnAddKLine,OnAddKLine(duration, user, parameters[2], parameters[0]));
@@ -57,7 +57,7 @@ CmdResult CommandKline::Handle (const char** parameters, int pcnt, User *user)
ServerInstance->TimeString(c_requires_crap).c_str());
}
- ServerInstance->XLines->apply_lines();
+ ServerInstance->XLines->ApplyLines();
}
else
{
@@ -66,7 +66,7 @@ CmdResult CommandKline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->del_kline(parameters[0]))
+ if (ServerInstance->XLines->DelKLine(parameters[0]))
{
FOREACH_MOD(I_OnDelKLine,OnDelKLine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed K-line on %s.",user->nick,parameters[0]);
diff --git a/src/commands/cmd_qline.cpp b/src/commands/cmd_qline.cpp
index 01f99546b..e32641e82 100644
--- a/src/commands/cmd_qline.cpp
+++ b/src/commands/cmd_qline.cpp
@@ -36,7 +36,7 @@ CmdResult CommandQline::Handle (const char** parameters, int pcnt, User *user)
}
long duration = ServerInstance->Duration(parameters[1]);
- if (ServerInstance->XLines->add_qline(duration,user->nick,parameters[2],parameters[0]))
+ if (ServerInstance->XLines->AddQLine(duration,user->nick,parameters[2],parameters[0]))
{
FOREACH_MOD(I_OnAddQLine,OnAddQLine(duration, user, parameters[2], parameters[0]));
if (!duration)
@@ -49,7 +49,7 @@ CmdResult CommandQline::Handle (const char** parameters, int pcnt, User *user)
ServerInstance->SNO->WriteToSnoMask('x',"%s added timed Q-line for %s, expires on %s",user->nick,parameters[0],
ServerInstance->TimeString(c_requires_crap).c_str());
}
- ServerInstance->XLines->apply_lines();
+ ServerInstance->XLines->ApplyLines();
}
else
{
@@ -58,7 +58,7 @@ CmdResult CommandQline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->del_qline(parameters[0]))
+ if (ServerInstance->XLines->DelQLine(parameters[0]))
{
FOREACH_MOD(I_OnDelQLine,OnDelQLine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed Q-line on %s.",user->nick,parameters[0]);
diff --git a/src/commands/cmd_zline.cpp b/src/commands/cmd_zline.cpp
index 7e5d9b7b2..9789830ef 100644
--- a/src/commands/cmd_zline.cpp
+++ b/src/commands/cmd_zline.cpp
@@ -36,7 +36,7 @@ CmdResult CommandZline::Handle (const char** parameters, int pcnt, User *user)
return CMD_FAILURE;
long duration = ServerInstance->Duration(parameters[1]);
- if (ServerInstance->XLines->add_zline(duration,user->nick,parameters[2],parameters[0]))
+ if (ServerInstance->XLines->AddZLine(duration,user->nick,parameters[2],parameters[0]))
{
FOREACH_MOD(I_OnAddZLine,OnAddZLine(duration, user, parameters[2], parameters[0]));
if (!duration)
@@ -49,7 +49,7 @@ CmdResult CommandZline::Handle (const char** parameters, int pcnt, User *user)
ServerInstance->SNO->WriteToSnoMask('x',"%s added timed Z-line for %s, expires on %s",user->nick,parameters[0],
ServerInstance->TimeString(c_requires_crap).c_str());
}
- ServerInstance->XLines->apply_lines();
+ ServerInstance->XLines->ApplyLines();
}
else
{
@@ -58,7 +58,7 @@ CmdResult CommandZline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->del_zline(parameters[0]))
+ if (ServerInstance->XLines->DelZLine(parameters[0]))
{
FOREACH_MOD(I_OnDelZLine,OnDelZLine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed Z-line on %s.",user->nick,parameters[0]);