summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-01-02 21:34:31 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-01-02 21:34:31 +1100
commitcff02371ce9e638dcff5db152a49f5e437d4eb58 (patch)
tree983b8e4379a107975e93536f98ced31f5b8b27fa
parentf1f68b0e7eedc26ea507e039bafffb20a083f918 (diff)
Fixed permissions typo in stickies
-rw-r--r--mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 7d821f1d..a06c424a 100644
--- a/mod.php
+++ b/mod.php
@@ -284,7 +284,7 @@
else
header('Location: ?/' . sprintf(BOARD_PATH, $boardName) . FILE_INDEX, true, REDIRECT_HTTP);
} elseif(preg_match('/^\/' . $regex['board'] . '(un)?sticky\/(\d+)$/', $query, $matches)) {
- if($mod['type'] < MOD_DELETE) error(ERROR_NOACCESS);
+ if($mod['type'] < MOD_STICKY) error(ERROR_NOACCESS);
// Ban by post
$boardName = $matches[1];