From ce766fa1db1a6c3cc83f588373c927ffa04733ba Mon Sep 17 00:00:00 2001 From: marzavec Date: Sun, 25 Mar 2018 14:16:02 -0700 Subject: Rolled client back to legacy & synced prod modules --- server/src/commands/mod/ban.js | 1 - server/src/commands/mod/kick.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'server/src/commands/mod') diff --git a/server/src/commands/mod/ban.js b/server/src/commands/mod/ban.js index 19f297a..409217a 100644 --- a/server/src/commands/mod/ban.js +++ b/server/src/commands/mod/ban.js @@ -37,7 +37,6 @@ exports.run = async (core, server, socket, data) => { return; } - // TODO unban by hash let clientHash = server.getSocketHash(badClient); server._police.arrest(badClient.remoteAddress, clientHash); diff --git a/server/src/commands/mod/kick.js b/server/src/commands/mod/kick.js index f51d576..1958ef3 100644 --- a/server/src/commands/mod/kick.js +++ b/server/src/commands/mod/kick.js @@ -52,7 +52,7 @@ exports.run = async (core, server, socket, data) => { server.broadcast({ cmd: 'info', text: `Kicked ${targetNick}` - }, { channel: socket.channel }); + }, { channel: socket.channel, uType: 'user' }); // inform mods with where they were sent server.broadcast({ -- cgit v1.2.1