forked from GitHub/dbot
fix report trim
This commit is contained in:
parent
f48e4c3942
commit
ef1e514c54
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user