Skip to content

Commit b4452dd

Browse files
committed
remove useless brackets
1 parent 2c05038 commit b4452dd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/bot.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,7 @@ class Bot {
344344

345345
sendToDiscord(author, channel, text) {
346346
const discordChannel = this.findDiscordChannel(channel);
347-
if (!discordChannel) {
348-
return;
349-
}
350-
347+
if (!discordChannel) return;
351348

352349
// Convert text formatting (bold, italics, underscore)
353350
const withFormat = formatFromIRCToDiscord(text);

0 commit comments

Comments
 (0)