diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-21 13:59:54 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-21 13:59:54 +0100 |
commit | ba911faf1a8b521ec358e9d61bb480adf554f673 (patch) | |
tree | affeef0ec34c16387a434c0db66dd722518fbb97 | |
parent | 5479ec407ced79375e25705490c7f036fca1cce2 (diff) | |
download | prosody-ba911faf1a8b521ec358e9d61bb480adf554f673.tar.gz prosody-ba911faf1a8b521ec358e9d61bb480adf554f673.zip |
connlisteners: Localize tostring, fixes possible traceback when LuaSec not installed
-rw-r--r-- | net/connlisteners.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/connlisteners.lua b/net/connlisteners.lua index ebb3cc18..932cd9cb 100644 --- a/net/connlisteners.lua +++ b/net/connlisteners.lua @@ -11,6 +11,7 @@ local listeners_dir = (CFG_SOURCEDIR or ".").."/net/"; local server = require "net.server"; local log = require "util.logger".init("connlisteners"); +local tostring = tostring; local dofile, pcall, error = dofile, pcall, error |