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 176eef99d..b32c2af91 100644
--- a/src/commands/cmd_eline.cpp
+++ b/src/commands/cmd_eline.cpp
@@ -39,7 +39,7 @@ CmdResult CommandEline::Handle (const char** parameters, int pcnt, User *user)
long duration = ServerInstance->Duration(parameters[1]);
ELine* el = new ELine(ServerInstance, ServerInstance->Time(), duration, user->nick, parameters[2], ih.first.c_str(), ih.second.c_str());
- if (!ServerInstance->XLines->AddLine(el))
+ if (ServerInstance->XLines->AddLine(el))
{
FOREACH_MOD(I_OnAddELine,OnAddELine(duration, user, parameters[2], parameters[0]));