diff options
author | Adam <Adam@anope.org> | 2010-07-26 20:15:38 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-07-26 20:15:38 -0400 |
commit | 2a79be7f91f62a9047a12e37ecf7db719e4c4ae2 (patch) | |
tree | d400fbec7a8668ed0514a72b62ff09724bc8a085 | |
parent | d2b34c45c31e53fa314ea4d02a2d6984c1164a27 (diff) |
Added hostserv/del command permission, fixed example.conf to show that hostserv/* is a command, not a permission
-rw-r--r-- | data/example.conf | 4 | ||||
-rw-r--r-- | src/core/hs_del.c | 2 | ||||
-rw-r--r-- | src/core/hs_delall.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/data/example.conf b/data/example.conf index 81caf978e..058ae7a37 100644 --- a/data/example.conf +++ b/data/example.conf @@ -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/*" } /* diff --git a/src/core/hs_del.c b/src/core/hs_del.c index b01debd02..6d562b54f 100644 --- a/src/core/hs_del.c +++ b/src/core/hs_del.c @@ -18,7 +18,7 @@ class CommandHSDel : public Command { public: - CommandHSDel() : Command("DEL", 1, 1, "hostserv/set") + CommandHSDel() : Command("DEL", 1, 1, "hostserv/del") { } diff --git a/src/core/hs_delall.c b/src/core/hs_delall.c index 4da35c684..c35b4b287 100644 --- a/src/core/hs_delall.c +++ b/src/core/hs_delall.c @@ -18,7 +18,7 @@ class CommandHSDelAll : public Command { public: - CommandHSDelAll() : Command("DELALL", 1, 1, "hostserv/set") + CommandHSDelAll() : Command("DELALL", 1, 1, "hostserv/del") { } |