Skip to content

Commit

Permalink
[randompictures] break vs continue :thonk:
Browse files Browse the repository at this point in the history
  • Loading branch information
Seklfreak committed Mar 1, 2018
1 parent d25aee9 commit 42916e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/plugins/randompictures.go
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ func (rp *RandomPictures) postRandomItemFromContent(channel *discordgo.Channel,
if sourceEntry.GuildID == channel.GuildID {
for _, skippedRoleID := range sourceEntry.BlacklistedRoleIDs {
if skippedRoleID == guildRole.ID {
break NextSource
continue NextSource
}
}

Expand Down

0 comments on commit 42916e2

Please sign in to comment.