3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 06:19:24 +01:00

fix report trim

This commit is contained in:
reality 2014-04-18 18:18:23 +00:00
parent f48e4c3942
commit ef1e514c54

View File

@ -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();