Added flood protection for the

Added flood protection for the

diff --git a/src/tools/authserver/messages.cpp b/src/tools/authserver/messages.cpp
index 8a24913..1c503cf 100644
--- a/src/tools/authserver/messages.cpp
+++ b/src/tools/authserver/messages.cpp
@@ -1003,6 +1003,12 @@ static void HandleIPResponse( const char* message, const struct sockaddr_storage
     unsigned int index = 0;
     int data;
     
+    // Flood protection
+    if( Cl_BlockedByThrottle( address, addressLen ) )
+    {
+        return;
+    }
+    
     // Break message so packets can be tested
     strncpy( str, message, sizeof( str ) );
     token[index] = strtok( str, " " );

GitHub
sha: 39600ebb

© GrangerHub. All rights reserved. Tremulous © Darklegion Development. Granger by err-overflow and MoP licensed CC-BY-SA-2.5