Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
2035:b8c3dbf76a2e | 2036:0f9c121713e1 |
---|---|
9 | 9 |
10 | 10 |
11 local listeners_dir = (CFG_SOURCEDIR or ".").."/net/"; | 11 local listeners_dir = (CFG_SOURCEDIR or ".").."/net/"; |
12 local server = require "net.server"; | 12 local server = require "net.server"; |
13 local log = require "util.logger".init("connlisteners"); | 13 local log = require "util.logger".init("connlisteners"); |
14 local tostring = tostring; | |
14 | 15 |
15 local dofile, pcall, error = | 16 local dofile, pcall, error = |
16 dofile, pcall, error | 17 dofile, pcall, error |
17 | 18 |
18 module "connlisteners" | 19 module "connlisteners" |