mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:14:47 +02:00
Added hostserv/del command permission, fixed example.conf to show that hostserv/* is a command, not a permission
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
class CommandHSDel : public Command
|
||||
{
|
||||
public:
|
||||
CommandHSDel() : Command("DEL", 1, 1, "hostserv/set")
|
||||
CommandHSDel() : Command("DEL", 1, 1, "hostserv/del")
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
class CommandHSDelAll : public Command
|
||||
{
|
||||
public:
|
||||
CommandHSDelAll() : Command("DELALL", 1, 1, "hostserv/set")
|
||||
CommandHSDelAll() : Command("DELALL", 1, 1, "hostserv/del")
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user