1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Add some basic commands for sysadmins and permission system for them

This commit is contained in:
NG (Graham)
2025-10-31 21:02:10 -04:00
parent 77b6d8c11f
commit 3ef1aa20d0
13 changed files with 290 additions and 29 deletions

View File

@@ -18,6 +18,10 @@ impl super::CommonUser for UserData {
self.perms.developer
}
fn is_royal(&self) -> bool {
self.perms.royalty
}
fn is_banned(&self) -> bool {
self.perms.banned
}