about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2010-12-29 14:12:34 +0100
committerAlexander Barton <alex@barton.de>2010-12-29 14:12:34 +0100
commit21cbf37db5647159eced6ed1275e0e2e6980155c (patch)
tree2795f88fa07906267c74bef1bd83a58ed73a2fef /src
parent4188a82e7674a46903c87e257ebbeeb013dc8146 (diff)
downloadngircd-21cbf37db5647159eced6ed1275e0e2e6980155c.tar.gz
ngircd-21cbf37db5647159eced6ed1275e0e2e6980155c.zip
Don't throttle services and servers beeing registered
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/conn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 9daca853..73a66bbb 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -1517,6 +1517,8 @@ Read_Request( CONN_ID Idx )
 	/* Look at the data in the (read-) buffer of this connection */
 	My_Connections[Idx].bps += Handle_Buffer(Idx);
 	if (Client_Type(c) != CLIENT_SERVER
+	    && Client_Type(c) != CLIENT_UNKNOWNSERVER
+	    && Client_Type(c) != CLIENT_SERVICE
 	    && My_Connections[Idx].bps >= maxbps) {
 		LogDebug("Throttling connection %d: BPS exceeded! (%u >= %u)",
 			 Idx, My_Connections[Idx].bps, maxbps);