Simple permission handling

This commit is contained in:
Savetheinternet 2010-12-10 20:38:49 +11:00
parent 6d2813857e
commit 88c4ef787e
2 changed files with 3 additions and 0 deletions

View file

@ -65,6 +65,8 @@
)
);
} elseif(preg_match('/^\/new$/', $query)) {
if($mod['type'] != MOD_ADMIN) error(ERROR_NOACCESS);
// New board
$body = '';