some hooking refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-03-18 21:13:35 +01:00
parent 80c415f6fa
commit 73237c82a9
3 changed files with 68 additions and 52 deletions
+1 -1
View File
@@ -984,7 +984,7 @@ function private.record_auction(key, aux_quantity, unit_blizzard_bid, unit_buyou
end
entry.count = entry.count + 1
entry.yours = entry.yours + (owner == UnitName('player') and 1 or 0)
entry.yours = entry.yours + (Aux.is_player(owner) and 1 or 0)
return entry
end