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
commit0d4d70c625cbdf20d96dd568b490ef4c04525be1 (patch)
tree833b6a3112e04cd6b26c408f4a1829f3cc0b4c89
parent216b5fd8510866462a09a94cb0adbdf8ba5f71a3 (diff)
downloadprosody-0d4d70c625cbdf20d96dd568b490ef4c04525be1.tar.gz
prosody-0d4d70c625cbdf20d96dd568b490ef4c04525be1.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 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"