From 3b1e5822f6f1b64a91f91be1436e95db302c57c0 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 31 Oct 2007 17:46:57 +0000 Subject: More fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8432 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_qline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_qline.cpp') diff --git a/src/commands/cmd_qline.cpp b/src/commands/cmd_qline.cpp index 8384c2ca0..7ccfe6031 100644 --- a/src/commands/cmd_qline.cpp +++ b/src/commands/cmd_qline.cpp @@ -37,7 +37,7 @@ CmdResult CommandQline::Handle (const char** parameters, int pcnt, User *user) long duration = ServerInstance->Duration(parameters[1]); QLine* ql = new QLine(ServerInstance, ServerInstance->Time(), duration, user->nick, parameters[2], parameters[0]); - if (!ServerInstance->XLines->AddLine(ql)) + if (ServerInstance->XLines->AddLine(ql)) { FOREACH_MOD(I_OnAddQLine,OnAddQLine(duration, user, parameters[2], parameters[0])); if (!duration) -- cgit v1.2.3