maxn is deprecated

This commit is contained in:
batrick 2011-05-11 15:13:46 +00:00
parent 321e0d34e0
commit bd64492fe9

View file

@ -117,7 +117,7 @@ action = function()
sock:close()
-- If no broadcasts received, don't output anything.
if table.maxn(ids) == 0 then
if #ids == 0 then
return
end