Diff

net/connlisteners.lua @ 2036:0f9c121713e1

connlisteners: Localize tostring, fixes possible traceback when LuaSec not installed
author Matthew Wild <mwild1@gmail.com>
date Wed, 21 Oct 2009 13:59:54 +0100
parent 1523:841d61be198f
child 2076:de2ae849b0b3
line wrap: on
line diff
--- 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