From: Jack Allnutt Date: Sat, 17 Sep 2011 17:35:57 +0000 (+0100) Subject: Fixing multi-word quit messges. Bug #28 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b575fa08650d71a9b5ed960c6391a281e6ac4bf6;p=KiwiIRC.git Fixing multi-word quit messges. Bug #28 --- 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':