diff options
Diffstat (limited to 'samples/listener.lua')
-rw-r--r-- | samples/listener.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/listener.lua b/samples/listener.lua index a47d9a3..5e1eb02 100644 --- a/samples/listener.lua +++ b/samples/listener.lua | |||
@@ -1,5 +1,5 @@ | |||
1 | host = "localhost" | 1 | host = host or "localhost" |
2 | port = 8080 | 2 | port = host or 8080 |
3 | if arg then | 3 | if arg then |
4 | host = arg[1] or host | 4 | host = arg[1] or host |
5 | port = arg[2] or port | 5 | port = arg[2] or port |