]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_notice.cpp
Fix two occurances of match() on a const char* here
[user/henk/code/inspircd.git] / src / commands / cmd_notice.cpp
index d6e11a803275a80468d2959be3b9a4a8a3971fab..451b67074fc9e7541d5dbf55b4edc6af326011d1 100644 (file)
@@ -29,7 +29,7 @@ CmdResult CommandNotice::Handle (const std::vector<std::string>& 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)))
        {