diff options
author | daurnimator <quae@daurnimator.com> | 2013-12-18 18:06:33 -0500 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2013-12-18 18:06:33 -0500 |
commit | 31e5378e58926c552870a92f33d79da12af75507 (patch) | |
tree | dd0dae6136d65dc32c88ce29f77816244e3325f1 /net | |
parent | e3c0bdb6f3179edbb38371a301af4da309760246 (diff) | |
download | prosody-31e5378e58926c552870a92f33d79da12af75507.tar.gz prosody-31e5378e58926c552870a92f33d79da12af75507.zip |
net/server_select: Fix typo
Diffstat (limited to 'net')
-rw-r--r-- | net/server_select.lua | 2 |
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" |