From 2aaf18518a89bfe7e6fdcece93aa3be94f349b71 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Tue, 22 Jan 2019 10:52:28 -0500 Subject: [PATCH] emojify: flipped lt --- 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 8234797..e7d244a 100644 --- a/plugins/emojifyme/emojifyme.go +++ b/plugins/emojifyme/emojifyme.go @@ -80,7 +80,7 @@ func (p *EmojifyMePlugin) Message(message msg.Message) bool { strings.HasPrefix(msg, c+" ") || strings.HasSuffix(msg, " "+c) { emojys = append(emojys, v) - if !stringsContain(inertTokens, k) || len(v) > 2 { + if !stringsContain(inertTokens, k) && len(v) > 2 { emojied += 1 } }