From ef1e514c544bf51ed102ea654a1d1c2a5319b0c5 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 18 Apr 2014 18:18:23 +0000 Subject: [PATCH] fix report trim --- modules/report/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/report/commands.js b/modules/report/commands.js index fead6d6..b1b32f7 100644 --- a/modules/report/commands.js +++ b/modules/report/commands.js @@ -13,7 +13,7 @@ var commands = function(dbot) { }, '~report': function(event) { - var channelName = (event.input[1] || event.channel), + var channelName = (event.input[1].trim() || event.channel), nick = event.input[2], reason = event.input[3].trim();