mirror of
https://github.com/reality/dbot.git
synced 2024-12-28 05:32:50 +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