Wallops cleanup
authorCory Chaplin <cory.chaplin@laposte.net>
Tue, 20 May 2014 20:17:32 +0000 (22:17 +0200)
committerCory Chaplin <cory.chaplin@laposte.net>
Tue, 20 May 2014 20:17:32 +0000 (22:17 +0200)
client/src/models/gateway.js
server/irc/commands.js
server/irc/user.js

index 724fe8e9b19bf70e0ceeb9ccdf0e93e0cf542c93..8f1028b65e7328ce6bbf885ef3e822d8cf0cbc13 100644 (file)
@@ -428,7 +428,6 @@ _kiwi.model.Gateway = function () {
         this.rpcCall('irc.raw', connection_id, args, callback);\r
     };\r
 \r
-\r
     /**\r
      *  Sends ENCODING change request to server.\r
      *  @param  {String}     new_encoding  The new proposed encode\r
@@ -441,22 +440,7 @@ _kiwi.model.Gateway = function () {
 \r
         this.rpcCall('irc.encoding', connection_id, args, callback);\r
     };\r
-\r
-    /**\r
-    *   Sends a Wallops message\r
-    *   @param  {String}    target      The target of the message\r
-    *   @param  {String}    msg         The message to send\r
-    *   @param  {Function}  callback    A callback function\r
-    */\r
-    this.wallops = function (connection_id, target, msg, callback) {\r
-        var args = {\r
-            target: target,\r
-            msg: msg\r
-        };\r
-\r
-        this.rpcCall('irc.wallops', connection_id, args, callback);\r
-    };\r
-\r
+    \r
 \r
     return new (Backbone.Model.extend(this))(arguments);\r
 };\r
index 305e04e34abecdb8d1a51739486e3362357cc6f7..a6db28bbc35944b2a0f436bab6b6d3c1619ee62a 100644 (file)
@@ -1422,7 +1422,6 @@ handlers = {
             nick: command.nick,
             ident: command.ident,
             hostname: command.hostname,
-            target: this.irc_connection.nick,
             msg: command.params[command.params.length - 1]
         });
     },
index d8083bcd74010a6e033877f1e2e6555af4ba74b7..13b8297d2a6a68e202c40468b13af93da3c6c9bc 100755 (executable)
@@ -323,7 +323,6 @@ function onWallops(event) {
         nick: event.nick,\r
         ident: event.ident,\r
         hostname: event.hostname,\r
-        target: event.target,\r
         msg: event.msg,\r
         time: event.time\r
     });\r