mirror of
https://github.com/42wim/matterbridge.git
synced 2025-02-16 02:29:02 -08:00
Fix isActive() call arg order
This commit is contained in:
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…
Reference in New Issue
Block a user