summaryrefslogtreecommitdiff
path: root/src/commands/cmd_kline.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-29 00:18:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-29 00:18:26 +0000
commit8782cde20b474cf50f11fc6685c70a785bb3b2be (patch)
treed770967314bf74cd64a69851343d24ddb3d47220 /src/commands/cmd_kline.cpp
parentd67f0923b5502ac20b8327b98cce21e015123493 (diff)
Compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8419 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_kline.cpp')
-rw-r--r--src/commands/cmd_kline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_kline.cpp b/src/commands/cmd_kline.cpp
index 14cd552ec..5bdc9dc96 100644
--- a/src/commands/cmd_kline.cpp
+++ b/src/commands/cmd_kline.cpp
@@ -66,7 +66,7 @@ CmdResult CommandKline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->DelKLine(parameters[0]))
+ if (ServerInstance->XLines->DelLine(parameters[0],'K'))
{
FOREACH_MOD(I_OnDelKLine,OnDelKLine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed K-line on %s.",user->nick,parameters[0]);