diff options
Diffstat (limited to 'src/modules/m_clones.cpp')
-rw-r--r-- | src/modules/m_clones.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_clones.cpp b/src/modules/m_clones.cpp index b3e695bfd..3084b32a8 100644 --- a/src/modules/m_clones.cpp +++ b/src/modules/m_clones.cpp @@ -36,7 +36,7 @@ class CommandClones : public Command std::string clonesstr = "CLONES "; - unsigned long limit = atoi(parameters[0].c_str()); + unsigned long limit = strtoul(parameters[0].c_str(), NULL, 10); /* * Syntax of a /clones reply: |