r5183 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Dec 10 03:27:58 EST 2008


Author: div0
Date: 2008-12-10 03:27:43 -0500 (Wed, 10 Dec 2008)
New Revision: 5183

Modified:
   trunk/data/qcsrc/server/ipban.qc
Log:
add possibly working Kickbanned: reason message to kickbans


Modified: trunk/data/qcsrc/server/ipban.qc
===================================================================
--- trunk/data/qcsrc/server/ipban.qc	2008-12-10 08:26:31 UTC (rev 5182)
+++ trunk/data/qcsrc/server/ipban.qc	2008-12-10 08:27:43 UTC (rev 5183)
@@ -206,6 +206,7 @@
 {
 	if(!Ban_GetClientIP(client))
 	{
+		sprint(client, "Kickbanned: ", reason, "\n");
 		dropclient(client);
 		return;
 	}
@@ -226,6 +227,7 @@
 			break;
 	}
 	// and kick him
+	sprint(client, "Kickbanned: ", reason, "\n");
 	dropclient(client);
 }
 




More information about the nexuiz-commits mailing list