summaryrefslogtreecommitdiff
path: root/src/commands/cmd_eline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_eline.cpp')
-rw-r--r--src/commands/cmd_eline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_eline.cpp b/src/commands/cmd_eline.cpp
index 2b1f8d803..a0b35bd64 100644
--- a/src/commands/cmd_eline.cpp
+++ b/src/commands/cmd_eline.cpp
@@ -59,7 +59,7 @@ CmdResult CommandEline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->DelELine(parameters[0]))
+ if (ServerInstance->XLines->DelLine(parameters[0], 'E'))
{
FOREACH_MOD(I_OnDelELine,OnDelELine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed E-line on %s.",user->nick,parameters[0]);