projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d1e6ef
)
connlisteners: Localize tostring, fixes possible traceback when LuaSec not installed
author
Matthew Wild
<mwild1@gmail.com>
Wed, 21 Oct 2009 12:59:54 +0000
(13:59 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 21 Oct 2009 12:59:54 +0000
(13:59 +0100)
net/connlisteners.lua
patch
|
blob
|
history
diff --git
a/net/connlisteners.lua
b/net/connlisteners.lua
index ebb3cc18e2cec986ccfd888deacc83e777c35f36..932cd9cb53bb00a4670cf1a1a1676ee463910dd3 100644
(file)
--- 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