mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +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) {
|
'~report': function(event) {
|
||||||
var channelName = (event.input[1] || event.channel),
|
var channelName = (event.input[1].trim() || event.channel),
|
||||||
nick = event.input[2],
|
nick = event.input[2],
|
||||||
reason = event.input[3].trim();
|
reason = event.input[3].trim();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user