Diff

main.lua @ 224:4b1e30ddd2bb

Add host field to local host sessions
author Matthew Wild <mwild1@gmail.com>
date Sat, 08 Nov 2008 20:32:30 +0000
parent 218:1263896ab2f1
child 229:01bd24ea488d
line wrap: on
line diff
--- 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