summaryrefslogtreecommitdiff
path: root/src/modules/m_setidle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_setidle.cpp')
-rw-r--r--src/modules/m_setidle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp
index 0f224e9e9..37984030b 100644
--- a/src/modules/m_setidle.cpp
+++ b/src/modules/m_setidle.cpp
@@ -38,7 +38,7 @@ class CommandSetidle : public SplitCommand
flags_needed = 'o'; syntax = "<duration>";
}
- CmdResult HandleLocal(const std::vector<std::string>& parameters, LocalUser* user) CXX11_OVERRIDE
+ CmdResult HandleLocal(LocalUser* user, const Params& parameters) CXX11_OVERRIDE
{
int idle = InspIRCd::Duration(parameters[0]);
if (idle < 1)