summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--skin_meta_api.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/skin_meta_api.lua b/skin_meta_api.lua
index ec57b58..d9ca875 100644
--- a/skin_meta_api.lua
+++ b/skin_meta_api.lua
@@ -73,7 +73,6 @@ end
function skin_class:is_applicable_for_player(playername)
local assigned_player = self:get_meta("playername")
- return assigned_player == nil or
- assigned_player == playername or
- assigned_player == true
+ return assigned_player == nil or assigned_player == true or
+ (assigned_player:lower() == playername:lower())
end