This commit is contained in:
Bunny67
2020-07-01 17:42:02 +03:00
parent 1c51f477ce
commit e13b36973d
9 changed files with 13 additions and 18 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ local function filterFunc(_, event, msg, player, l, cs, t, flag, channelId, ...)
local toon = BNGetNumFriendToons(i)
for j=1, toon do
local _, rName, rGame = BNGetFriendToonInfo(i, j)
if rName == trimmedPlayer and rGame == "WoW" then
if rName == player and rGame == "WoW" then
return false, newMsg, player, l, cs, t, flag, channelId, ...; -- Player is a real id friend, allow it
end
end