forked from leftypol/leftypol
Simple permission handling
This commit is contained in:
parent
6d2813857e
commit
88c4ef787e
2 changed files with 3 additions and 0 deletions
2
mod.php
2
mod.php
|
@ -65,6 +65,8 @@
|
|||
)
|
||||
);
|
||||
} elseif(preg_match('/^\/new$/', $query)) {
|
||||
if($mod['type'] != MOD_ADMIN) error(ERROR_NOACCESS);
|
||||
|
||||
// New board
|
||||
$body = '';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue