X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcommands%2Fcmd_qline.cpp;h=762fd53c4ba3f8b647b0a04c0940c5f61ce6c378;hb=6d03943426dcce76ba66567a9b18425a5ebb4c0c;hp=ffe8c5ee62ec9c43afbf02c1bd45d78cbdec9468;hpb=3841c4b04a96389a4661535d12d5215a621d8736;p=user%2Fhenk%2Fcode%2Finspircd.git 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& 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)