Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Format code and remove unreachable break statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Bios-Marcel committed Oct 6, 2019
1 parent 5895df1 commit 9fb71f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions discordutil/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import "github.com/Bios-Marcel/discordgo"
func MentionsCurrentUserExplicitly(state *discordgo.State, message *discordgo.Message) bool {
for _, user := range message.Mentions {
if user.ID == state.User.ID {
return true
break
return true
}
}

Expand Down

0 comments on commit 9fb71f9

Please sign in to comment.