do not allow mods to kick or ban mods

This commit is contained in:
rootdarkarchon
2024-02-09 12:50:05 +01:00
committed by Loporrit
parent 3e93fc4db3
commit 466ba2668b

View File

@@ -196,7 +196,10 @@ public class SyncshellAdminUI : WindowMediatorSubscriberBase
} }
UiSharedService.AttachToolTip(pair.Value != null && pair.Value.Value.IsModerator() ? "Demod user" : "Mod user"); UiSharedService.AttachToolTip(pair.Value != null && pair.Value.Value.IsModerator() ? "Demod user" : "Mod user");
ImGui.SameLine(); ImGui.SameLine();
}
if (_isOwner || (pair.Value == null || (pair.Value != null && !pair.Value.Value.IsModerator())))
{
if (UiSharedService.NormalizedIconButton(FontAwesomeIcon.Thumbtack)) if (UiSharedService.NormalizedIconButton(FontAwesomeIcon.Thumbtack))
{ {
GroupUserInfo userInfo = pair.Value ?? GroupUserInfo.None; GroupUserInfo userInfo = pair.Value ?? GroupUserInfo.None;