From ef51a5d20e7bbfeb55f22c7c25421ab3e673d8af Mon Sep 17 00:00:00 2001 From: Tim Peterson Date: Sun, 8 Sep 2013 23:42:06 -0400 Subject: [PATCH] Remove double space between nick and action text. --- server/irc/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/irc/commands.js b/server/irc/commands.js index 352060b..a08f9d9 100644 --- a/server/irc/commands.js +++ b/server/irc/commands.js @@ -501,7 +501,7 @@ handlers = { if ((command.trailing.charAt(0) === String.fromCharCode(1)) && (command.trailing.charAt(command.trailing.length - 1) === String.fromCharCode(1))) { //CTCP request if (command.trailing.substr(1, 6) === 'ACTION') { - this.irc_connection.clientEvent('action', {nick: command.nick, ident: command.ident, hostname: command.hostname, channel: command.params[0], msg: command.trailing.substring(7, command.trailing.length - 1)}); + this.irc_connection.clientEvent('action', {nick: command.nick, ident: command.ident, hostname: command.hostname, channel: command.params[0], msg: command.trailing.substring(8, command.trailing.length - 1)}); } else if (command.trailing.substr(1, 4) === 'KIWI') { tmp = command.trailing.substring(6, command.trailing.length - 1); namespace = tmp.split(' ', 1)[0]; -- 2.25.1