From 0cd8db8a55eb5197e12954a66b3739fedfa908b6 Mon Sep 17 00:00:00 2001 From: Kufat Date: Tue, 6 Sep 2022 07:37:25 -0400 Subject: [PATCH] Fix isActive() call arg order --- bridge/irc/irc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 41ff613f..64273f83 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -457,7 +457,7 @@ func (b *Birc) isUserActive(nick string, channel string) (bool, int64) { b.Log.Errorf("User %s has active time in the future: %d", nick, activeTime) return true, now // err on the side of caution } - return b.isActive(now, activeTime), activeTime + return b.isActive(activeTime, now), activeTime } return false, 0 }