From 20dbd713068347ba9a025e02fb0a101e07e6982c Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 27 Feb 2018 23:38:36 +0100 Subject: Make megacheck happy --- bridge/xmpp/xmpp.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bridge') diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 8b856d93..990d6f3b 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -234,8 +234,5 @@ func (b *Bxmpp) skipMessage(message xmpp.Chat) bool { // skip delayed messages t := time.Time{} - if message.Stamp == t { - return true - } - return false + return message.Stamp == t } -- cgit v1.2.3