aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2013-12-18 18:06:33 -0500
committerdaurnimator <quae@daurnimator.com>2013-12-18 18:06:33 -0500
commit3cec6c49ede68a4b6e5825307acf33ba585d06ca (patch)
tree833b6a3112e04cd6b26c408f4a1829f3cc0b4c89 /net/server_select.lua
parentf73d6a6eeb0ebc5197e6568bbbbf9776133d939d (diff)
downloadprosody-3cec6c49ede68a4b6e5825307acf33ba585d06ca.tar.gz
prosody-3cec6c49ede68a4b6e5825307acf33ba585d06ca.zip
net/server_select: Fix typo
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 61919863..71db5006 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -946,7 +946,7 @@ local addclient = function( address, port, listeners, pattern, sslctx )
local err
if type( listeners ) ~= "table" then
err = "invalid listener table"
- elseif type ( addr ) ~= "string" then
+ elseif type ( address ) ~= "string" then
err = "invalid address"
elseif type( port ) ~= "number" or not ( port >= 0 and port <= 65535 ) then
err = "invalid port"