summaryrefslogtreecommitdiff
path: root/src/commands/cmd_kline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_kline.cpp')
-rw-r--r--src/commands/cmd_kline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_kline.cpp b/src/commands/cmd_kline.cpp
index 3ec2461b4..9184a3505 100644
--- a/src/commands/cmd_kline.cpp
+++ b/src/commands/cmd_kline.cpp
@@ -70,7 +70,7 @@ CmdResult CommandKline::Handle (const std::vector<std::string>& parameters, User
}
long duration = ServerInstance->Duration(parameters[1].c_str());
- KLine* kl = new KLine(ServerInstance, ServerInstance->Time(), duration, user->nick.c_str(), parameters[2].c_str(), ih.first.c_str(), ih.second.c_str());
+ KLine* kl = new KLine(ServerInstance->Time(), duration, user->nick.c_str(), parameters[2].c_str(), ih.first.c_str(), ih.second.c_str());
if (ServerInstance->XLines->AddLine(kl,user))
{
if (!duration)