summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/example.conf6
-rw-r--r--modules/extra/cs_set_misc.cpp2
-rw-r--r--modules/extra/ns_set_misc.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/data/example.conf b/data/example.conf
index f80f9346e..c7fc4c84e 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -1664,8 +1664,8 @@ cs_set_misc
name = "OINFO"
/* A short description of the command */
desc = "Associate oper only information to this channel"
- /* Set to yes if only opers can set it and see it */
- operonly = yes
+ /* Set to yes if only opers and privileged users can set it and see it */
+ privileged = yes
}
cs_set_misc
{
@@ -1683,7 +1683,7 @@ ns_set_misc
{
name = "OINFO"
desc = "Associate oper only information to this nick"
- operonly = yes
+ privileged = yes
}
ns_set_misc
{
diff --git a/modules/extra/cs_set_misc.cpp b/modules/extra/cs_set_misc.cpp
index e72fdec03..c5f11ca29 100644
--- a/modules/extra/cs_set_misc.cpp
+++ b/modules/extra/cs_set_misc.cpp
@@ -146,7 +146,7 @@ class CSSetMisc : public Module
if (cname.empty())
continue;
Anope::string desc = config.ReadValue("cs_set_misc", "desc", "", i);
- bool showhidden = config.ReadFlag("cs_set_misc", "operonly", "no", i);
+ bool showhidden = config.ReadFlag("cs_set_misc", "privileged", "no", i);
CommandInfo *info = new CommandInfo(cname, desc, showhidden);
if (!this->Commands.insert(std::make_pair(cname, info)).second)
diff --git a/modules/extra/ns_set_misc.cpp b/modules/extra/ns_set_misc.cpp
index 87c7c05f2..8829f86b2 100644
--- a/modules/extra/ns_set_misc.cpp
+++ b/modules/extra/ns_set_misc.cpp
@@ -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)