diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2010-08-02 22:37:41 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2010-08-02 22:37:41 +0200 |
commit | 4ffdd7ca6b94a3fbe6802d434605cbdbfa8be91d (patch) | |
tree | 1fc57fdca660c7f4167a464aaba8cf8177f3ae15 | |
parent | 503215f39ce5b61a33e544c1d8e3d75d9e5a5260 (diff) |
saset noexpire works now
-rw-r--r-- | modules/core/ns_saset_noexpire.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/ns_saset_noexpire.cpp b/modules/core/ns_saset_noexpire.cpp index 3404a0db2..a041e5304 100644 --- a/modules/core/ns_saset_noexpire.cpp +++ b/modules/core/ns_saset_noexpire.cpp @@ -16,7 +16,7 @@ class CommandNSSASetNoexpire : public Command { public: - CommandNSSASetNoexpire() : Command("NOEXPIRE", 1, 2, "nickserv/saset/noexpire") + CommandNSSASetNoexpire() : Command("NOEXPIRE", 1, 3, "nickserv/saset/noexpire") { } @@ -26,7 +26,7 @@ class CommandNSSASetNoexpire : public Command if (!na) throw CoreException("NULL na in CommandNSSASsetNoexpire"); - Anope::string param = params.size() > 1 ? params[1] : ""; + Anope::string param = params.size() > 1 ? params[2] : ""; if (param.equals_ci("ON")) { |