From ba911faf1a8b521ec358e9d61bb480adf554f673 Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Wed, 21 Oct 2009 13:59:54 +0100
Subject: connlisteners: Localize tostring, fixes possible traceback when
 LuaSec not installed

---
 net/connlisteners.lua | 1 +
 1 file changed, 1 insertion(+)

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
-- 
cgit v1.2.3