1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 03:46:36 +02:00

saset noexpire works now

This commit is contained in:
DukePyrolator
2010-08-02 22:37:41 +02:00
parent 503215f39c
commit 4ffdd7ca6b
+2 -2
View File
@@ -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"))
{