Diff

net/connlisteners.lua @ 471:727d7bd97cd2

Fix for loading connlisteners when running without CFG_SOURCEDIR
author Matthew Wild <mwild1@gmail.com>
date Sat, 29 Nov 2008 15:13:30 +0000
parent 467:66f145f5c932
child 519:cccd610a0ef9
line wrap: on
line diff
--- a/net/connlisteners.lua	Sat Nov 29 03:49:46 2008 +0000
+++ b/net/connlisteners.lua	Sat Nov 29 15:13:30 2008 +0000
@@ -1,5 +1,5 @@
 
-local listeners_dir = (CFG_SOURCEDIR or "").."/net/";
+local listeners_dir = (CFG_SOURCEDIR or ".").."/net/";
 local server_add = require "net.server".add;
 local log = require "util.logger".init("connlisteners");