summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-02-07 00:38:01 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-02-07 00:38:01 +1100
commitbcfc8c4a70ba54b57582d244c8bcc683ef6d9cf7 (patch)
tree9dcba6b7c03b3ca7539bfe34c3a4e5cb4f6022b5 /inc
parent6994b6a2f5f84ead4beb87a9f2fd7cb846a2b52d (diff)
Started on ban list
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index bf3956fe..f4040570 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -244,6 +244,15 @@
/* Administration */
// Display the contents of instant-config.php
define('MOD_SHOW_CONFIG', MOD_ADMIN, true);
+ // View list of bans
+ define('MOD_VIEW_BANLIST', MOD_MOD, true);
+ // View the username of the mod who made a ban
+ define('MOD_VIEW_BANSTAFF', MOD_MOD, true);
+ // If the moderator doesn't fit the MOD_VIEW_BANSTAFF (previous) permission,
+ // show him just a "?" instead. Otherwise, it will be "Mod" or "Admin"
+ define('MOD_VIEW_BANQUESTIONMARK', false, true);
+ // Show expired bans in the ban list (they are kept in cache until the culprit returns)
+ define('MOD_VIEW_BANEXPIRED', true, true);
// Create a new board
define('MOD_NEWBOARD', MOD_ADMIN, true);