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 | 3cec6c49ede68a4b6e5825307acf33ba585d06ca (patch) | |
tree | 833b6a3112e04cd6b26c408f4a1829f3cc0b4c89 /net/server_select.lua | |
parent | f73d6a6eeb0ebc5197e6568bbbbf9776133d939d (diff) | |
download | prosody-3cec6c49ede68a4b6e5825307acf33ba585d06ca.tar.gz prosody-3cec6c49ede68a4b6e5825307acf33ba585d06ca.zip |
net/server_select: Fix typo
Diffstat (limited to 'net/server_select.lua')
-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 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" |