Diff

main.lua @ 97:c3f12fd0c823

Some tiny changes for main.lua
author Matthew Wild <mwild1@gmail.com>
date Sun, 12 Oct 2008 01:23:30 +0100
parent 65:9c471840acb9
child 99:ba08b8a4eeef
line wrap: on
line diff
--- a/main.lua	Sun Oct 12 01:01:19 2008 +0100
+++ b/main.lua	Sun Oct 12 01:23:30 2008 +0100
@@ -1,6 +1,6 @@
 require "luarocks.require"
 
-server = require "net.server"
+local server = require "net.server"
 require "socket"
 require "ssl"
 require "lxp"
@@ -39,7 +39,7 @@
 
 
 
-local hosts, users = hosts, users;
+local hosts, sessions = hosts, sessions;
 
 function connect_host(host)
 	hosts[host] = { type = "remote", sendbuffer = {} };