diff options
author | Adam <Adam@anope.org> | 2011-08-04 21:59:01 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-04 21:59:01 -0400 |
commit | 9ec18a3b020932eee6242c878149c484f49b13cb (patch) | |
tree | 6f0470e27bf4f3ced0f6833db00134f4b29a79a9 /modules/core/ns_set_kill.cpp | |
parent | 773a1f3075fa12700d41598c0b8a8dd7caf9011e (diff) |
Added a command:permission setting
Diffstat (limited to 'modules/core/ns_set_kill.cpp')
-rw-r--r-- | modules/core/ns_set_kill.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/ns_set_kill.cpp b/modules/core/ns_set_kill.cpp index 26a23292b..f57a93893 100644 --- a/modules/core/ns_set_kill.cpp +++ b/modules/core/ns_set_kill.cpp @@ -16,7 +16,7 @@ class CommandNSSetKill : public Command { public: - CommandNSSetKill(Module *creator, const Anope::string &sname = "nickserv/set/kill", size_t min = 1, const Anope::string &spermission = "") : Command(creator, sname, min, min + 1, spermission) + CommandNSSetKill(Module *creator, const Anope::string &sname = "nickserv/set/kill", size_t min = 1) : Command(creator, sname, min, min + 1) { this->SetDesc(_("Turn protection on or off")); this->SetSyntax(_("{ON | QUICK | IMMED | OFF}")); @@ -99,7 +99,7 @@ class CommandNSSetKill : public Command class CommandNSSASetKill : public CommandNSSetKill { public: - CommandNSSASetKill(Module *creator) : CommandNSSetKill(creator, "nickserv/saset/kill", 2, "nickserv/saset/kill") + CommandNSSASetKill(Module *creator) : CommandNSSetKill(creator, "nickserv/saset/kill", 2) { this->SetSyntax(_("\037nickname\037 {ON | QUICK | IMMED | OFF}")); } |