Judges can talk in games (#4091)

This commit is contained in:
Zach H 2020-09-09 13:20:59 -04:00 committed by GitHub
parent 79f590c99a
commit bec02b4952
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 9 deletions

View file

@ -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)