Fixed comment

This commit is contained in:
Scott Kiesel 2018-01-10 11:47:50 -05:00 committed by GitHub
parent 4f5b0ebbda
commit a20c323ac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ func (p *EmojifyMePlugin) Message(message msg.Message) bool {
}
tokens[i] = ":" + token + ":"
} else if strings.HasSuffix(token, "s") {
//Check to see if we can strip the trailing "es" off and get an emoji
//Check to see if we can strip the trailing "s" off and get an emoji
temp := strings.TrimSuffix(token, "s")
if _, ok := p.Emoji[temp]; ok {
if !stringsContain(inertTokens, temp) {