diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 10:05:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 10:05:47 +0000 |
commit | 287e4973e009755c771add3e3995392b1612c425 (patch) | |
tree | d82af4d4887dd5acbfaf875b5a28028b3c659dc3 /src | |
parent | 6cc946d0a0b2ec370f99727c5e45126c4f54edc4 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/cmd_notice.cpp | 2 | ||||
-rw-r--r-- | src/commands/cmd_privmsg.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<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))) { 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<std::string>& 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))) |