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 ffe8c5ee6..762fd53c4 100644
--- a/src/commands/cmd_qline.cpp
+++ b/src/commands/cmd_qline.cpp
@@ -45,7 +45,7 @@ CmdResult CommandQline::Handle (const std::vector<std::string>& parameters, User
}
long duration = ServerInstance->Duration(parameters[1].c_str());
- QLine* ql = new QLine(ServerInstance, ServerInstance->Time(), duration, user->nick.c_str(), parameters[2].c_str(), parameters[0].c_str());
+ QLine* ql = new QLine(ServerInstance->Time(), duration, user->nick.c_str(), parameters[2].c_str(), parameters[0].c_str());
if (ServerInstance->XLines->AddLine(ql,user))
{
if (!duration)