emojify: flipped lt

This commit is contained in:
Chris Sexton 2019-01-22 10:51:19 -05:00
parent ca8334c60c
commit 8795d956ff
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
} }
} }