summaryrefslogtreecommitdiff
path: root/src/commands/cmd_zline.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-31 17:46:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-31 17:46:57 +0000
commit3b1e5822f6f1b64a91f91be1436e95db302c57c0 (patch)
treea53f76f8e91cbd212c9b9f5e3493530a99faf493 /src/commands/cmd_zline.cpp
parent568f90949aaa882fd8de88669234894e5235b7c6 (diff)
More fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8432 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_zline.cpp')
-rw-r--r--src/commands/cmd_zline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_zline.cpp b/src/commands/cmd_zline.cpp
index 971961c57..9c1b3dfd0 100644
--- a/src/commands/cmd_zline.cpp
+++ b/src/commands/cmd_zline.cpp
@@ -45,7 +45,7 @@ CmdResult CommandZline::Handle (const char** parameters, int pcnt, User *user)
ipaddr++;
}
ZLine* zl = new ZLine(ServerInstance, ServerInstance->Time(), duration, user->nick, parameters[2], ipaddr);
- if (!ServerInstance->XLines->AddLine(zl))
+ if (ServerInstance->XLines->AddLine(zl))
{
FOREACH_MOD(I_OnAddZLine,OnAddZLine(duration, user, parameters[2], parameters[0]));
if (!duration)