Skip to content

Commit

Permalink
Fix isActive() call arg order
Browse files Browse the repository at this point in the history
  • Loading branch information
Kufat committed Sep 6, 2022
1 parent 47219a7 commit 0cd8db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/irc/irc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0cd8db8

Please sign in to comment.