summaryrefslogtreecommitdiff
path: root/src/commands/cmd_kline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_kline.cpp')
-rw-r--r--src/commands/cmd_kline.cpp6
1 files changed, 3 insertions, 3 deletions
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]);