From a20c323ac91a778c57c2f24e5f41f9f1bfc086f1 Mon Sep 17 00:00:00 2001 From: Scott Kiesel Date: Wed, 10 Jan 2018 11:47:50 -0500 Subject: [PATCH] Fixed comment --- plugins/emojifyme/emojifyme.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/emojifyme/emojifyme.go b/plugins/emojifyme/emojifyme.go index 4c1383d..4ee9282 100644 --- a/plugins/emojifyme/emojifyme.go +++ b/plugins/emojifyme/emojifyme.go @@ -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) {