gateway typo
authorDarren <darren@Darrens-MacBook-Pro.local>
Wed, 24 Apr 2013 21:19:58 +0000 (22:19 +0100)
committerDarren <darren@Darrens-MacBook-Pro.local>
Wed, 24 Apr 2013 21:19:58 +0000 (22:19 +0100)
client/assets/dev/model_gateway.js

index 5e0caa58b22879fd047d12c1e053fe22c0f0fa60..000aa8868f5073fdde35b560bb9ded2143b64556 100644 (file)
@@ -102,7 +102,7 @@ _kiwi.model.Gateway = function () {
         this.on('onaction', function (event) {\r
             var source,\r
                 connection = _kiwi.app.connections.getByConnectionId(event.server),\r
-                is_pm = (event.channel == cinnection.get('nick'));\r
+                is_pm = (event.channel == connection.get('nick'));\r
 \r
             source = is_pm ? event.nick : event.channel;\r
             \r