mirror of
https://github.com/anope/anope.git
synced 2026-06-29 18:36:38 +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:
+2
-2
@@ -593,7 +593,7 @@ options
|
||||
* nickserv/getpass nickserv/sendpass nickserv/getemail nickserv/suspend
|
||||
* nickserv/resetpass
|
||||
*
|
||||
* 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
|
||||
@@ -633,7 +633,7 @@ opertype
|
||||
opertype
|
||||
{
|
||||
name = "Helper"
|
||||
privs = "hostserv/set"
|
||||
privs = "hostserv/*"
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
class CommandHSDel : public Command
|
||||
{
|
||||
public:
|
||||
CommandHSDel() : Command("DEL", 1, 1, "hostserv/set")
|
||||
CommandHSDel() : Command("DEL", 1, 1, "hostserv/del")
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,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