summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/example.conf6
-rw-r--r--modules/core/hs_del.cpp2
-rw-r--r--modules/core/hs_delall.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/data/example.conf b/data/example.conf
index 5549aef5f..cb60c3d16 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -627,7 +627,7 @@ options
* nickserv/saset/icq nickserv/saset/kill nickserv/saset/language nickserv/saset/message
* nickserv/saset/private nickserv/saset/secure nickserv/saset/url nickserv/saset/noexpire
*
- * hostserv/set - Can add/modify/delete any vhost
+ * hostserv/set hostserv/del
*
* operserv/global operserv/news operserv/stats operserv/kick
* operserv/mode operserv/session operserv/modlist operserv/ignore
@@ -651,8 +651,8 @@ opertype
/* The name of this opertype */
name = "Helper"
- /* What privs (see above) this opertype has */
- privs = "hostserv/set"
+ /* What commands (see above) this opertype has */
+ commands = "hostserv/*"
}
opertype
diff --git a/modules/core/hs_del.cpp b/modules/core/hs_del.cpp
index 2b6d90a10..a35b349a6 100644
--- a/modules/core/hs_del.cpp
+++ b/modules/core/hs_del.cpp
@@ -16,7 +16,7 @@
class CommandHSDel : public Command
{
public:
- CommandHSDel() : Command("DEL", 1, 1, "hostserv/set")
+ CommandHSDel() : Command("DEL", 1, 1, "hostserv/del")
{
}
diff --git a/modules/core/hs_delall.cpp b/modules/core/hs_delall.cpp
index caa02caad..b91ac1a4f 100644
--- a/modules/core/hs_delall.cpp
+++ b/modules/core/hs_delall.cpp
@@ -16,7 +16,7 @@
class CommandHSDelAll : public Command
{
public:
- CommandHSDelAll() : Command("DELALL", 1, 1, "hostserv/set")
+ CommandHSDelAll() : Command("DELALL", 1, 1, "hostserv/del")
{
}