diff options
Diffstat (limited to 'scripts/chat.js')
| -rw-r--r-- | scripts/chat.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/chat.js b/scripts/chat.js index 1bb889a..8f7e31f 100644 --- a/scripts/chat.js +++ b/scripts/chat.js @@ -170,6 +170,8 @@ function connectToChat(host, nick, password, room) { membership.joined.push(m.nick); } else if (m.command == "PART" && m.nick != "justinfan12345") { membership.parted.push(m.nick); + } else if (m.command == "PING") { + socket.send(`PONG :${m.params[0]}`); } } }); |
