From: brain Date: Mon, 5 May 2008 10:05:47 +0000 (+0000) Subject: Calling wrong loopcall overloaded method, due to hasty search and replace earlier X-Git-Tag: v2.0.23~3240 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=287e4973e009755c771add3e3995392b1612c425;p=user%2Fhenk%2Fcode%2Finspircd.git Calling wrong loopcall overloaded method, due to hasty search and replace earlier git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9641 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/commands/cmd_notice.cpp b/src/commands/cmd_notice.cpp index d6e11a803..451b67074 100644 --- a/src/commands/cmd_notice.cpp +++ b/src/commands/cmd_notice.cpp @@ -29,7 +29,7 @@ CmdResult CommandNotice::Handle (const std::vector& parameters, Use user->idle_lastmsg = ServerInstance->Time(); - if (ServerInstance->Parser->LoopCall(user, this, parameters, parameters.size(), 0)) + if (ServerInstance->Parser->LoopCall(user, this, parameters, 0)) return CMD_SUCCESS; if ((parameters[0][0] == '$') && (IS_OPER(user) || ServerInstance->ULine(user->server))) { diff --git a/src/commands/cmd_privmsg.cpp b/src/commands/cmd_privmsg.cpp index a3d64f084..1c4ba277e 100644 --- a/src/commands/cmd_privmsg.cpp +++ b/src/commands/cmd_privmsg.cpp @@ -28,7 +28,7 @@ CmdResult CommandPrivmsg::Handle (const std::vector& parameters, Us user->idle_lastmsg = ServerInstance->Time(); - if (ServerInstance->Parser->LoopCall(user, this, parameters, parameters.size(), 0)) + if (ServerInstance->Parser->LoopCall(user, this, parameters, 0)) return CMD_SUCCESS; if ((parameters[0][0] == '$') && (IS_OPER(user) || ServerInstance->ULine(user->server)))