From cf44a97649f42952e85dca82a91f18fc4e14c1e9 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Sun, 19 Aug 2012 08:14:44 -0700 Subject: [PATCH] Don't send empty messages --- webclient/rc.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webclient/rc.html b/webclient/rc.html index 2e05a86..7f3e8d1 100644 --- a/webclient/rc.html +++ b/webclient/rc.html @@ -472,7 +472,9 @@ function rckeydown(event) { if (event.keyCode == 13) { - rcinput(document.input.say.value); + if (document.input.say.value) { + rcinput(document.input.say.value); + } document.input.say.value = ""; return false; } -- 2.44.1