Comparison

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
comparison
equal deleted inserted replaced
470:2f9d42fdeffa 471:727d7bd97cd2
1 1
2 local listeners_dir = (CFG_SOURCEDIR or "").."/net/"; 2 local listeners_dir = (CFG_SOURCEDIR or ".").."/net/";
3 local server_add = require "net.server".add; 3 local server_add = require "net.server".add;
4 local log = require "util.logger".init("connlisteners"); 4 local log = require "util.logger".init("connlisteners");
5 5
6 local dofile, pcall, error = 6 local dofile, pcall, error =
7 dofile, pcall, error 7 dofile, pcall, error