Allow first admin to be created if none exist
This commit is contained in:
parent
83a0a88430
commit
12ce1daead
@ -113,7 +113,7 @@ impl Bot {
|
||||
if let Some(command) = names.next() {
|
||||
match command {
|
||||
"admin" => {
|
||||
if self.admin_list.contains(sender) {
|
||||
if self.admin_list.contains(sender) || self.admin_list.is_empty() {
|
||||
self.adminify_players(names)?;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user