Fix isActive() call arg order

pull/1872/head
Kufat 2 years ago
parent 47219a7393
commit 0cd8db8a55

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

Loading…
Cancel
Save