Friends hotfix... Did I really write this code?

This commit is contained in:
Dico200
2016-05-30 04:15:06 +02:00
parent d66e8f3294
commit 1da9aa2578

View File

@@ -98,7 +98,7 @@ def rem(sender, names):
notafriend = []
for name in names:
player = server.Player(name)
player = server.getPlayer(name)
if player:
player_id = uid(player)
if player_id in friends.get(sender_id, []):