summaryrefslogtreecommitdiff
path: root/src/modules/m_clones.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_clones.cpp')
-rw-r--r--src/modules/m_clones.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_clones.cpp b/src/modules/m_clones.cpp
index eff9ed9af..02f0f3fae 100644
--- a/src/modules/m_clones.cpp
+++ b/src/modules/m_clones.cpp
@@ -27,12 +27,12 @@ class CommandClones : public Command
syntax = "<limit>";
}
- CmdResult Handle (const char* const* parameters, int pcnt, User *user)
+ CmdResult Handle (const std::vector<std::string> &parameters, User *user)
{
std::string clonesstr = "304 " + std::string(user->nick) + " :CLONES";
- unsigned long limit = atoi(parameters[0]);
+ unsigned long limit = atoi(parameters[0].c_str());
/*
* Syntax of a /clones reply: