From b575fa08650d71a9b5ed960c6391a281e6ac4bf6 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Sat, 17 Sep 2011 18:35:57 +0100 Subject: [PATCH] Fixing multi-word quit messges. Bug #28 --- js/front.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/front.js b/js/front.js index b699f7c..cc606e1 100644 --- a/js/front.js +++ b/js/front.js @@ -380,7 +380,7 @@ kiwi.front = { break; case '/quit': - kiwi.gateway.quit(msg.split(" ", 2)[1]); + kiwi.gateway.quit(parts.slice(1).join(' ')); break; case '/topic': -- 2.25.1