summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/commands/ns_set.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp
index e6526a913..063b7c4dd 100644
--- a/modules/commands/ns_set.cpp
+++ b/modules/commands/ns_set.cpp
@@ -119,7 +119,7 @@ class CommandNSSetPassword : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
- const Anope::string &param = params[1];
+ const Anope::string &param = params[0];
unsigned len = param.length();
if (Anope::ReadOnly)