From 5bede4460cd186cc0bab0e276056964ed7bd3153 Mon Sep 17 00:00:00 2001 From: Darren Date: Fri, 23 May 2014 14:43:18 +0100 Subject: [PATCH] Removing `wallops` as a network function; Whitespace cleanup --- client/src/app.js | 2 +- client/src/models/gateway.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/app.js b/client/src/app.js index 035c06d..748a28b 100644 --- a/client/src/app.js +++ b/client/src/app.js @@ -68,7 +68,7 @@ _kiwi.global = { part: 'part', join: 'join', action: 'action', ctcp: 'ctcp', ctcpRequest: 'ctcpRequest', ctcpResponse: 'ctcpResponse', notice: 'notice', msg: 'privmsg', changeNick: 'changeNick', - channelInfo: 'channelInfo', mode: 'mode', wallops: 'wallops' + channelInfo: 'channelInfo', mode: 'mode' }; // Proxy each gateway method diff --git a/client/src/models/gateway.js b/client/src/models/gateway.js index 8f1028b..cd4baa9 100644 --- a/client/src/models/gateway.js +++ b/client/src/models/gateway.js @@ -295,7 +295,6 @@ _kiwi.model.Gateway = function () { this.ctcp(connection_id, false, type, target, params, callback); }; - /** * @param {String} target The target of the message (e.g. a channel or nick) * @param {String} msg The message to send @@ -440,7 +439,7 @@ _kiwi.model.Gateway = function () { this.rpcCall('irc.encoding', connection_id, args, callback); }; - + return new (Backbone.Model.extend(this))(arguments); }; -- 2.25.1