1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 02:26:38 +02:00

Changed cs/ns_set_misc operonly config directive to better reflect what it really does

This commit is contained in:
Adam
2010-10-13 13:25:34 -04:00
parent dc0c07b408
commit c4075c032e
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ class NSSetMisc : public Module
if (cname.empty())
continue;
Anope::string desc = config.ReadValue("ns_set_misc", "desc", "", i);
bool showhidden = config.ReadFlag("ns_set_misc", "operonly", "no", i);
bool showhidden = config.ReadFlag("ns_set_misc", "privileged", "no", i);
CommandInfo *info = new CommandInfo(cname, desc, showhidden);
if (!this->Commands.insert(std::make_pair(cname, info)).second)