summaryrefslogtreecommitdiff
path: root/src/commands/cmd_qline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_qline.cpp')
-rw-r--r--src/commands/cmd_qline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_qline.cpp b/src/commands/cmd_qline.cpp
index e32641e82..6b0b9d2c9 100644
--- a/src/commands/cmd_qline.cpp
+++ b/src/commands/cmd_qline.cpp
@@ -58,7 +58,7 @@ CmdResult CommandQline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->DelQLine(parameters[0]))
+ if (ServerInstance->XLines->DelLine(parameters[0],'Q'))
{
FOREACH_MOD(I_OnDelQLine,OnDelQLine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed Q-line on %s.",user->nick,parameters[0]);