Update whisper.js

This commit is contained in:
marzavec
2020-11-11 09:31:57 -08:00
parent 28ba8282fc
commit af59db11e0
+1 -1
View File
@@ -140,7 +140,7 @@ export function whisperCheck({
return false;
}
if (payload.text.startsWith('/r ')) {
if (payload.text.startsWith('/reply ') || payload.text.startsWith('/r ')) {
if (typeof socket.whisperReply === 'undefined') {
server.reply({
cmd: 'warn', // @todo Add numeric error code as `id`