aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"