Fix chat with cli arguments
This commit is contained in:
parent
1f46adca46
commit
deb679d1d0
|
@ -85,6 +85,6 @@ end
|
||||||
client.connect(args[:ip], args[:port], detach: true)
|
client.connect(args[:ip], args[:port], detach: true)
|
||||||
|
|
||||||
loop do
|
loop do
|
||||||
msg = gets.chomp
|
msg = $stdin.gets.chomp
|
||||||
client.send_chat(msg)
|
client.send_chat(msg)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue