From: Darren Date: Fri, 23 May 2014 13:43:18 +0000 (+0100) Subject: Removing `wallops` as a network function; Whitespace cleanup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5bede4460cd186cc0bab0e276056964ed7bd3153;p=KiwiIRC.git Removing `wallops` as a network function; Whitespace cleanup --- 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); };