diff options
author | Adam <adam@sigterm.info> | 2018-06-12 08:39:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-12 08:39:24 -0400 |
commit | 32076c099c44b5e9698b3063c6923a5a83494519 (patch) | |
tree | dc4006c39441279504a8cc206e6c7251579499ad /modules/commands/ns_set.cpp | |
parent | 216b96aa57f27dbfe39687795c1f05f5b221d923 (diff) | |
parent | 7638c7a884337f45a5458e786bad640d066671fa (diff) |
Merge pull request #219 from genius3000/2.0+set_help_hide
Check for 'hide' flag in commands in (bs,cs,ns)_set HELP
Diffstat (limited to 'modules/commands/ns_set.cpp')
-rw-r--r-- | modules/commands/ns_set.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp index 4e66a45f1..c4f3f97cb 100644 --- a/modules/commands/ns_set.cpp +++ b/modules/commands/ns_set.cpp @@ -42,6 +42,9 @@ class CommandNSSet : public Command if (c_name.find_ci(this_name + " ") == 0) { + if (info.hide) + continue; + ServiceReference<Command> c("Command", info.name); // XXX dup if (!c) |