fix a vip warning

This commit is contained in:
Eduardo Bart
2012-04-27 17:21:11 -03:00
parent b1082121d4
commit a329deb8c5
4 changed files with 4 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ function VipList.onVipStateChange(id, online)
local vipList = vipWindow:getChildById('contentsPanel')
local label = vipList:getChildById('vip' .. id)
local text = label:getText()
vipList:removeChild(label)
label:destroy()
VipList.onAddVip(id, text, online)
end