This commit is contained in:
Tux 2015-06-21 20:03:11 -04:00
parent d7b3568eec
commit 1c598868a9
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ for _, proxy in ipairs(ARGV) do
local server = redis.call("HGET", "player:" .. player, "server") local server = redis.call("HGET", "player:" .. player, "server")
if server then if server then
if not serverToData[server] then if not serverToData[server] then
serverToData[server] = {player} serverToData[server] = {}
end end
table.insert(serverToData[server], player) table.insert(serverToData[server], player)
end end