aboutsummaryrefslogtreecommitdiffstats
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
commit62ce3bb70888010588030c679fb778c22ab023fb (patch)
treedd0dae6136d65dc32c88ce29f77816244e3325f1
parentca6af8e2cfeb2373224dc5949f1a3e02cd42b81b (diff)
downloadprosody-62ce3bb70888010588030c679fb778c22ab023fb.tar.gz
prosody-62ce3bb70888010588030c679fb778c22ab023fb.zip
net/server_select: Fix typo
-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 c707e48f..91b8b01f 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -934,7 +934,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"