main.lua

changeset 224
4b1e30ddd2bb
parent 218
1263896ab2f1
child 229
01bd24ea488d
--- a/main.lua	Sat Nov 08 00:17:00 2008 +0000
+++ b/main.lua	Sat Nov 08 20:32:30 2008 +0000
@@ -17,7 +17,7 @@
 
 if config.hosts and #config.hosts > 0 then
 	for _, host in pairs(config.hosts) do
-		hosts[host] = {type = "local", connected = true, sessions = {}};
+		hosts[host] = {type = "local", connected = true, sessions = {}, host = host};
 	end
 else error("No hosts defined in the configuration file"); end
 

mercurial