mirror of
https://github.com/anope/anope.git
synced 2026-06-27 11:26:36 +02:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user