Skip to content

Commit 950b5b7

Browse files
committed
Fix bad test at FriendListWindow:OnRemoveUser.
1 parent e0e838c commit 950b5b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

LuaMenu/widgets/chobby/components/friend_list_window.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function FriendListWindow:OnAddUser(userName)
5656
end
5757

5858
function FriendListWindow:OnRemoveUser(userName)
59-
if (not lobby.status == "connected") then
59+
if lobby.status ~= "connected" then
6060
return
6161
end
6262
local userInfo = lobby:TryGetUser(userName)

0 commit comments

Comments
 (0)