mirror to monitor

This commit is contained in:
kepler155c@gmail.com
2017-04-08 20:06:31 -04:00
parent 430ab7d910
commit 60487d951d
5 changed files with 110 additions and 90 deletions

View File

@@ -1,7 +1,7 @@
local Logger = require('logger')
local socketClass = { }
local trustList
local trustList = Util.readTable('.known_hosts')
function socketClass:read(timeout)
@@ -218,6 +218,4 @@ function Socket.server(port, keepAlive)
end
end
trustList = Util.readTable('.known_hosts')
return Socket