mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-13 06:04:31 +02:00
Parameter passing updated.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
host = "localhost"
|
||||
port = 8080
|
||||
host = host or "localhost"
|
||||
port = port or 8080
|
||||
if arg then
|
||||
host = arg[1] or host
|
||||
port = arg[2] or port
|
||||
|
Reference in New Issue
Block a user