Fix isActive() call arg order
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user