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 | 0d4d70c625cbdf20d96dd568b490ef4c04525be1 (patch) | |
tree | 833b6a3112e04cd6b26c408f4a1829f3cc0b4c89 /net | |
parent | 216b5fd8510866462a09a94cb0adbdf8ba5f71a3 (diff) | |
download | prosody-0d4d70c625cbdf20d96dd568b490ef4c04525be1.tar.gz prosody-0d4d70c625cbdf20d96dd568b490ef4c04525be1.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 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" |