summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-10-08 23:23:59 +0200
committerczaks <marcin@6irc.net>2014-10-08 23:23:59 +0200
commit9b3fa77719642acd13a2ae6f29087dffcb261f4d (patch)
tree6ea26048a0f540c29d28041e1191920d5485f346 /mod.php
parent906764a62f6fbc263d8b1d21957531edb6481e59 (diff)
new banlist implementation; also includes a public banlist
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 5428e84d..384eec88 100644
--- a/mod.php
+++ b/mod.php
@@ -62,7 +62,7 @@ $pages = array(
'/ban' => 'secure_POST ban', // new ban
'/bans' => 'secure_POST bans', // ban list
- '/bans/(\d+)' => 'secure_POST bans', // ban list
+ '/bans.json' => 'secure bans_json', // ban list JSON
'/ban-appeals' => 'secure_POST ban_appeals', // view ban appeals
'/recent/(\d+)' => 'recent_posts', // view recent posts