IRCP

- information gathering tool for irc servers
git clone git://git.acid.vegas/IRCP.git
Log | Files | Refs | Archive | README | LICENSE

commit 256aecb17457a76a84c9f7d66655ee5cbcbc58fc
parent 2006b162df37a8efb5bc4ad8d9e87140ba2e9bce
Author: acidvegas <acid.vegas@acid.vegas>
Date: Sat, 27 May 2023 18:51:27 -0400

Added throttled connection detection

Diffstat:
Mircp.py | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ircp.py b/ircp.py
@@ -256,7 +256,7 @@ class probe:
 				numeric = args[1]
 				if line.startswith('ERROR :Closing Link'):
 					raise Exception('DroneBL') if 'dronebl' in line.lower() else Exception('Banned')
-				elif line.startswith('ERROR :Trying to reconnect too fast') or line.startswith('ERROR :Your host is trying to (re)connect too fast'):
+				elif line.startswith('ERROR :Trying to reconnect too fast') or line.startswith('ERROR :Your host is trying to (re)connect too fast') or line.startswith('ERROR :Reconnecting too fast'):
 					raise Exception('Throttled')
 				elif line.startswith('ERROR :Access denied'):
 					raise Exception('Access denied')