Diff

main.lua @ 49:1cd2a8db392d

New "import" module to help tidy up all the local declarations at the top of modules
author Matthew Wild <mwild1@gmail.com>
date Sat, 04 Oct 2008 02:43:23 +0100
parent 38:3fdfd6e0cb4e
child 53:14ea0fe6ca86
line wrap: on
line diff
--- a/main.lua	Sat Oct 04 02:42:23 2008 +0100
+++ b/main.lua	Sat Oct 04 02:43:23 2008 +0100
@@ -13,6 +13,7 @@
  
 sessions = {};
  
+require "util.import"
 require "core.stanza_dispatch"
 require "core.xmlhandlers"
 require "core.rostermanager"
@@ -24,6 +25,7 @@
 require "net.connhandlers"
 require "util.stanza"
 require "util.jid"
+
  
 -- Locals for faster access --
 local t_insert = table.insert;