Fix isActive() call arg order

This commit is contained in:
Kufat 2022-09-06 07:37:25 -04:00
parent 47219a7393
commit 0cd8db8a55

View File

@ -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
}