aboutsummaryrefslogtreecommitdiffstats
path: root/net/connlisteners.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-29 15:13:30 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-29 15:13:30 +0000
commit428e9e1313cf9f935298b903adb2214d2b339f11 (patch)
tree12fcd24e3d0fcc10d55427dee65db7efbc070772 /net/connlisteners.lua
parent8d6ef1df3855daca2cb0cab27ce443816dba2d2b (diff)
downloadprosody-428e9e1313cf9f935298b903adb2214d2b339f11.tar.gz
prosody-428e9e1313cf9f935298b903adb2214d2b339f11.zip
Fix for loading connlisteners when running without CFG_SOURCEDIR
Diffstat (limited to 'net/connlisteners.lua')
-rw-r--r--net/connlisteners.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/connlisteners.lua b/net/connlisteners.lua
index cfb6aa39..a02dd2a6 100644
--- a/net/connlisteners.lua
+++ b/net/connlisteners.lua
@@ -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");