emojify: flipped lt

This commit is contained in:
Chris Sexton 2019-01-22 10:52:28 -05:00
parent 8795d956ff
commit 2aaf18518a
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ func (p *EmojifyMePlugin) Message(message msg.Message) bool {
strings.HasPrefix(msg, c+" ") || strings.HasPrefix(msg, c+" ") ||
strings.HasSuffix(msg, " "+c) { strings.HasSuffix(msg, " "+c) {
emojys = append(emojys, v) emojys = append(emojys, v)
if !stringsContain(inertTokens, k) || len(v) > 2 { if !stringsContain(inertTokens, k) && len(v) > 2 {
emojied += 1 emojied += 1
} }
} }