summaryrefslogtreecommitdiff
path: root/src/commands/cmd_zline.cpp
diff options
context:
space:
mode:
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 e2cca7649..d37300974 100644
--- a/src/commands/cmd_zline.cpp
+++ b/src/commands/cmd_zline.cpp
@@ -66,7 +66,7 @@ CmdResult CommandZline::Handle (const std::vector<std::string>& parameters, User
long duration = ServerInstance->Duration(parameters[1].c_str());
- ZLine* zl = new ZLine(ServerInstance, ServerInstance->Time(), duration, user->nick.c_str(), parameters[2].c_str(), ipaddr);
+ ZLine* zl = new ZLine(ServerInstance->Time(), duration, user->nick.c_str(), parameters[2].c_str(), ipaddr);
if (ServerInstance->XLines->AddLine(zl,user))
{
if (!duration)