Added optional IP-based account exemptions.

This commit is contained in:
Kinglykrab committed 2016-08-27 17:49:04 -04:00
1 parent 28c5b32624
commit ed9b6db369
10 files changed
+92 -56

No files matched your search

+1 -1
View File
@@ -722,7 +722,7 @@ bool Client::HandleEnterWorldPacket(const EQApplicationPacket *app) {
return true;
}
if (RuleI(World, MaxClientsPerIP) >= 0) {
if (RuleB(World, EnableIPExemptions) || RuleI(World, MaxClientsPerIP) >= 0) {
client_list.GetCLEIP(this->GetIP()); //Check current CLE Entry IPs against incoming connection
}