mirror of
https://github.com/42wim/matterbridge.git
synced 2025-02-20 20:39:01 -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)
|
b.Log.Errorf("User %s has active time in the future: %d", nick, activeTime)
|
||||||
return true, now // err on the side of caution
|
return true, now // err on the side of caution
|
||||||
}
|
}
|
||||||
return b.isActive(now, activeTime), activeTime
|
return b.isActive(activeTime, now), activeTime
|
||||||
}
|
}
|
||||||
return false, 0
|
return false, 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user