mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-06-28 23:11:45 +00:00
Fix bans not expiring (FS-147)
This commit is contained in:
parent
f5c08cd28b
commit
561c192c27
|
@ -169,7 +169,7 @@ public class Ban
|
|||
|
||||
public boolean isExpired()
|
||||
{
|
||||
return hasExpiry() && expiryUnix < FUtil.getUnixTime();
|
||||
return hasExpiry() && FUtil.getUnixDate(expiryUnix).before(new Date(FUtil.getUnixTime()));
|
||||
}
|
||||
|
||||
public String bakeKickMessage()
|
||||
|
|
Loading…
Reference in New Issue
Block a user