summaryrefslogtreecommitdiff
path: root/src/core/ns_recover.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ns_recover.c')
-rw-r--r--src/core/ns_recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_recover.c b/src/core/ns_recover.c
index 7819752e0..98ec3d926 100644
--- a/src/core/ns_recover.c
+++ b/src/core/ns_recover.c
@@ -23,7 +23,7 @@ class CommandNSRecover : public Command
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
}
- CommandReturn Execute(User *u, std::vector<ci::string> &params)
+ CommandReturn Execute(User *u, const std::vector<ci::string> &params)
{
const char *nick = params[0].c_str();
const char *pass = params.size() > 1 ? params[1].c_str() : NULL;