Wed, 21 Oct 2009 13:59:54 +0100
connlisteners: Localize tostring, fixes possible traceback when LuaSec not installed
net/connlisteners.lua | file | annotate | diff | comparison | revisions |
--- a/net/connlisteners.lua Wed Oct 21 13:32:32 2009 +0500 +++ b/net/connlisteners.lua Wed Oct 21 13:59:54 2009 +0100 @@ -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