Added optional IP-based account exemptions.

This commit is contained in:
Kinglykrab
2016-08-27 17:22:56 -04:00
parent 28c5b32624
commit ed9b6db369
10 changed files with 92 additions and 56 deletions
+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
}