Core: Fix warning

This commit is contained in:
Vincent-Michael committed 2013-08-30 20:56:41 +02:00
1 parent 7776016106
commit 87e105c818
2 files changed
+8 -6

No files matched your search

+1 -1
View File
@@ -1250,7 +1250,7 @@ bool WorldSession::DosProtection::EvaluateOpcode(WorldPacket& p) const
case BAN_IP: nameOrIp = Session->GetRemoteAddress(); break;
}
sWorld->BanAccount(bm, nameOrIp, duration, "DOS (Packet Flooding/Spoofing", "Server: AutoDOS");
sLog->outInfo(LOG_FILTER_NETWORKIO, "AntiDOS: Player automatically banned for %u seconds.", duration);
TC_LOG_INFO(LOG_FILTER_NETWORKIO, "AntiDOS: Player automatically banned for %u seconds.", duration);
return false;
}