mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
Judges can talk in games (#4091)
This commit is contained in:
parent
79f590c99a
commit
bec02b4952
4 changed files with 31 additions and 9 deletions
|
|
@ -621,6 +621,11 @@ void TabSupervisor::updateCurrent(int index)
|
|||
emit setMenu();
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if a user is a moderator/administrator
|
||||
* By seeing if they have the admin tab open & unlocked
|
||||
* @return if the admin tab is open & unlocked
|
||||
*/
|
||||
bool TabSupervisor::getAdminLocked() const
|
||||
{
|
||||
if (!tabAdmin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue