From: Darren Date: Wed, 24 Apr 2013 21:19:58 +0000 (+0100) Subject: gateway typo X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=444589dcf578ad95fe2d19668c7e9ed2c9a53821;p=KiwiIRC.git gateway typo --- diff --git a/client/assets/dev/model_gateway.js b/client/assets/dev/model_gateway.js index 5e0caa5..000aa88 100644 --- a/client/assets/dev/model_gateway.js +++ b/client/assets/dev/model_gateway.js @@ -102,7 +102,7 @@ _kiwi.model.Gateway = function () { this.on('onaction', function (event) { var source, connection = _kiwi.app.connections.getByConnectionId(event.server), - is_pm = (event.channel == cinnection.get('nick')); + is_pm = (event.channel == connection.get('nick')); source = is_pm ? event.nick : event.channel;