diff --git a/LuaMenu/widgets/chobby/components/user_list_panel.lua b/LuaMenu/widgets/chobby/components/user_list_panel.lua index 713c87a67..915f79cb0 100644 --- a/LuaMenu/widgets/chobby/components/user_list_panel.lua +++ b/LuaMenu/widgets/chobby/components/user_list_panel.lua @@ -71,11 +71,11 @@ local function CompareUsers(userName, otherName) return true end - if otherData.isAdmin ~= userData.isAdmin then + if (not otherData.isAdmin) ~= (not userData.isAdmin) then return userData.isAdmin end - if (not not otherData.isIgnored) ~= (not not userData.isIgnored) then + if (not otherData.isIgnored) ~= (not userData.isIgnored) then return otherData.isIgnored end