1
0
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:
Adam
2010-07-26 20:10:33 -04:00
parent 8ea033dd35
commit 6e6b6b46aa
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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
+1 -1
View File
@@ -16,7 +16,7 @@
class CommandHSDel : public Command
{
public:
CommandHSDel() : Command("DEL", 1, 1, "hostserv/set")
CommandHSDel() : Command("DEL", 1, 1, "hostserv/del")
{
}
+1 -1
View File
@@ -16,7 +16,7 @@
class CommandHSDelAll : public Command
{
public:
CommandHSDelAll() : Command("DELALL", 1, 1, "hostserv/set")
CommandHSDelAll() : Command("DELALL", 1, 1, "hostserv/del")
{
}