summaryrefslogtreecommitdiff
path: root/src/core/ns_ghost.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-12 00:28:05 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-12 00:28:05 +0000
commit848c0aaa212f6e5e69a30d14e36772ffd2d421c7 (patch)
treec1fee3ebba7cfe38ca42b2afb199339f94631d2a /src/core/ns_ghost.c
parentd16f4930f462386a5ad5507e56c07ac6610ac2bb (diff)
Made Command::Execute's params const
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2644 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/ns_ghost.c')
-rw-r--r--src/core/ns_ghost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_ghost.c b/src/core/ns_ghost.c
index 3e867511f..a7e81c334 100644
--- a/src/core/ns_ghost.c
+++ b/src/core/ns_ghost.c
@@ -23,7 +23,7 @@ class CommandNSGhost : 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;