Changeset

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
parents 2035:b8c3dbf76a2e
children 2037:a919511c45ac
files net/connlisteners.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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