diff options
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r-- | src/modules/m_helpop.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index 3ed172644..af55f9bc8 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -36,11 +36,11 @@ class CommandHelpop : public Command syntax = "<any-text>"; } - CmdResult Handle (const char* const* parameters, int pcnt, User *user) + CmdResult Handle (const std::vector<std::string> ¶meters, User *user) { irc::string parameter("start"); - if (pcnt > 0) - parameter = parameters[0]; + if (parameters.size() > 0) + parameter = parameters[0].c_str(); if (parameter == "index") { |