Fixed Warning expiration automatically lifts a permanent ban

Pepelac

Well-known member
I assume that the following situation can be considered as a logical bug.

Once there was a user. User received several warnings, exceeded maximum warning points and was banned (warning action option "Banned while at or above points threshold" was selected in this case). Later admin decided, that that user deserves a permanent ban, so he lifted temporary ban an banned that user permanently. Received warnings remained intact. And then warnings expired. Warning points went below threshold and that user, who had to remain banned, was automatically unbanned...
 
I've fixed this for 1.2. Basically, the auto unban here will only happen if the ban was "triggered" (rather than manually done).
 
Top Bottom