summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-28 15:46:15 -0400
committerAdam <Adam@anope.org>2011-09-10 02:05:00 -0400
commit700a585b1bb38a9dc0ac3e749083250d405488f8 (patch)
tree8af306bd60778815fe5a137590d3b888213ad231 /data
parent62752db4c49a8679b51d5996003fd3a23c2a3f2d (diff)
Allow modules to add their own channel levels
Diffstat (limited to 'data')
-rw-r--r--data/chanserv.example.conf8
-rw-r--r--data/tables.sql4
2 files changed, 6 insertions, 6 deletions
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index cc2bbaef6..d9bd6eb0c 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -184,8 +184,8 @@ chanserv
* The level "disabled" is a special level that means the level is disabled, even from people
* with founder level access.
*/
- level_change = 10
- level_list = 1
+ level_access_change = 10
+ level_access_list = 1
level_akick = 10
level_assign = "founder"
level_autohalfop = 4
@@ -226,8 +226,8 @@ chanserv
*
* These flags are used by the chanserv/flags access system.
*/
- flag_change = "f"
- flag_list = "l"
+ flag_access_change = "f"
+ flag_access_list = "l"
flag_akick = "K"
flag_assign = "s"
flag_autohalfop = "H"
diff --git a/data/tables.sql b/data/tables.sql
index 69e694a32..ec99b7479 100644
--- a/data/tables.sql
+++ b/data/tables.sql
@@ -140,9 +140,9 @@ CREATE TABLE IF NOT EXISTS `anope_cs_info_metadata` (
CREATE TABLE IF NOT EXISTS `anope_cs_levels` (
`channel` varchar(255) NOT NULL DEFAULT '',
- `position` int(11) NOT NULL DEFAULT '0',
+ `name` varchar(255) NOT NULL DEFAULT '',
`level` int(11) NOT NULL DEFAULT '0',
- UNIQUE KEY `channel` (`channel`,`position`)
+ UNIQUE KEY `channel` (`channel`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------