mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
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