From 65fbdcfa87f32818eb6591e1a9fd2dd191ec2b95 Mon Sep 17 00:00:00 2001 From: Robby- Date: Tue, 5 Feb 2013 16:31:14 +0100 Subject: 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. --- modules/commands/ns_set_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/ns_set_misc.cpp') 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); -- cgit