2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 02:28:01 +00:00
This commit is contained in:
Tux 2015-06-21 20:03:11 -04:00
parent d7b3568eec
commit 1c598868a9

View File

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