Client using all given channel prefixes
authorDarren <darren@Darrens-MacBook-Pro.local>
Mon, 11 Mar 2013 20:07:14 +0000 (20:07 +0000)
committerDarren <darren@Darrens-MacBook-Pro.local>
Mon, 11 Mar 2013 20:07:14 +0000 (20:07 +0000)
client/assets/dev/model_gateway.js

index c06b39cc3dd8c83e8792b3bbeb7959ad37235370..19fd043401bd119707d778e9e3db26a6355c29f7 100644 (file)
@@ -265,8 +265,7 @@ _kiwi.model.Gateway = function () {
                 $.each(data.options, function (name, value) {\r
                     switch (name) {\r
                     case 'CHANTYPES':\r
-                        // TODO: Check this. Why is it only getting the first char?\r
-                        that.set('channel_prefix', value.join('').charAt(0));\r
+                        that.set('channel_prefix', value.join(''));\r
                         break;\r
                     case 'NETWORK':\r
                         that.set('name', value);\r