mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-15 07:04:16 +01:00
do not allow mods to kick or ban mods
This commit is contained in:
parent
5ce7e81818
commit
baf747ba65
1 changed files with 3 additions and 0 deletions
|
|
@ -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))
|
||||||
{
|
{
|
||||||
GroupPairUserInfo userInfo = pair.Value ?? GroupPairUserInfo.None;
|
GroupPairUserInfo userInfo = pair.Value ?? GroupPairUserInfo.None;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue