From 42916e2b45ba51b4f020ca9cedbe671600a3ca4c Mon Sep 17 00:00:00 2001 From: Sebastian Winkler Date: Thu, 1 Mar 2018 18:43:03 +0100 Subject: [PATCH] [randompictures] break vs continue :thonk: --- modules/plugins/randompictures.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/plugins/randompictures.go b/modules/plugins/randompictures.go index 3aad0bd6..e6342830 100644 --- a/modules/plugins/randompictures.go +++ b/modules/plugins/randompictures.go @@ -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 } }