From: Darren Date: Fri, 11 Nov 2011 14:00:45 +0000 (+0000) Subject: Changing nick correctly X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5d57d62d7e49f1dc4b67b890932222e991d44188;p=KiwiIRC.git Changing nick correctly --- diff --git a/client/js/front.js b/client/js/front.js index fbee644..15b89c9 100644 --- a/client/js/front.js +++ b/client/js/front.js @@ -320,7 +320,7 @@ kiwi.front = { kiwi.front.ui.showChangeNick(); } else { console.log("sending nick"); - kiwi.gateway.changeNick(msg.substring(1)); + kiwi.gateway.changeNick(parts[1]); } break;