mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Fixed a code discrepancy.
This commit is contained in:
parent
8b48408870
commit
a3530ad143
@ -53,13 +53,12 @@ public class BanManager extends FreedomService
|
|||||||
String reason = banSet.getString("reason");
|
String reason = banSet.getString("reason");
|
||||||
Ban ban = new Ban(name, uuid, ips, by, at, expires, reason);
|
Ban ban = new Ban(name, uuid, ips, by, at, expires, reason);
|
||||||
bans.add(ban);
|
bans.add(ban);
|
||||||
|
// Remove expired bans, repopulate ipBans and nameBans,
|
||||||
|
updateViews();
|
||||||
|
|
||||||
|
FLog.info("Loaded " + ipBans.size() + " IP bans and " + nameBans.size() + " username bans.");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// Remove expired bans, repopulate ipBans and nameBans,
|
|
||||||
updateViews();
|
|
||||||
|
|
||||||
FLog.info("Loaded " + ipBans.size() + " IP bans and " + nameBans.size() + " username bans.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user