Skip to content

Commit

Permalink
Fix incorrect boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Sep 18, 2019
1 parent 5fd7736 commit a3a3658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interactions/leaderAdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const interactionLeaderAdd = (bot, message) => {
return
}

if (!commandUser.club.fields['Slack Channel ID'] != channel) {
if (commandUser.club.fields['Slack Channel ID'] != channel) {
console.log(`${user} doesn't own channel ${channel}`)
bot.whisper(message, transcript('leaderAdd.invalidChannel'))
return
Expand Down

0 comments on commit a3a3658

Please sign in to comment.