mirror of
https://github.com/LBRYFoundation/lbry-tipbot.git
synced 2025-08-23 16:57:24 +00:00
added obviously missing return
This commit is contained in:
parent
3817ec8e33
commit
cf689927d9
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ function respond(bot, data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((!tipper.is_admin || !tipper.is_owner) && channel.name !== "bot-sandbox" ){
|
if ((!tipper.is_admin || !tipper.is_owner) && channel.name !== "bot-sandbox" ){
|
||||||
bot.postMessage(channel, 'Please help keep the channel clean: use #bot-sandbox', globalSlackParams);
|
bot.postMessage(channel, 'Please help keep the channel clean: use #bot-sandbox', globalSlackParams);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var subcommand = words.length >= 2 ? words[1] : 'help';
|
var subcommand = words.length >= 2 ? words[1] : 'help';
|
||||||
|
|
Loading…
Add table
Reference in a new issue