send line terminator on PONG

This commit is contained in:
darkf 2013-11-21 23:57:46 -08:00
parent 93ae36c3ab
commit 31013f8ea7
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ handleMessage(s, nick, chan, msg) -> s.
handleCommand(s, _, "PING", [ping]) -> do
putstrln("ping: " + ping);
fputstr(sock, "PONG :" + ping);
fputstr(sock, "PONG :" + ping + "\r\n");
s
end.