Simple permission handling

This commit is contained in:
Savetheinternet committed 2010-12-10 20:38:49 +11:00
1 parent 6d2813857e
commit 88c4ef787e
2 files changed
+3

No files matched your search

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