2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-22 20:28:00 +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") 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