summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set_misc.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-02-05 16:31:14 +0100
committerRobby- <robby@chat.be>2013-02-05 16:31:14 +0100
commit65fbdcfa87f32818eb6591e1a9fd2dd191ec2b95 (patch)
tree779ea5d206a15fe406ebb2ee3acdbb621fc1921b /modules/commands/ns_set_misc.cpp
parent62e3c8c4f8ccbba3cc6e62fb970d38be25a654e4 (diff)
Fixed ns_set_misc not showing help for its SASET commands.
Added descriptions and SASETs for the remaining commented ns_set_misc examples, without a description they won't show up in HELP if someone actually enabled those.
Diffstat (limited to 'modules/commands/ns_set_misc.cpp')
-rw-r--r--modules/commands/ns_set_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_set_misc.cpp b/modules/commands/ns_set_misc.cpp
index d3d1bc058..a5a0019b6 100644
--- a/modules/commands/ns_set_misc.cpp
+++ b/modules/commands/ns_set_misc.cpp
@@ -173,7 +173,7 @@ class NSSetMisc : public Module
for (int i = 0; i < config.Enumerate("command"); ++i)
{
- if (config.ReadValue("command", "command", "", i) != "nickserv/set/misc")
+ if (config.ReadValue("command", "command", "", i) != "nickserv/set/misc" && config.ReadValue("command", "command", "", i) != "nickserv/saset/misc")
continue;
Anope::string cname = config.ReadValue("command", "name", "", i);