Changing nick correctly
authorDarren <darren@darrenwhitlen.com>
Fri, 11 Nov 2011 14:00:45 +0000 (14:00 +0000)
committerDarren <darren@darrenwhitlen.com>
Fri, 11 Nov 2011 14:00:45 +0000 (14:00 +0000)
client/js/front.js

index fbee644e3e3507fa04b22c70998fdbf1a3fe548f..15b89c93f3642c53248fb828b7b566313636c79c 100644 (file)
@@ -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;