IRCP

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

commit 2c12edc494acb4f7107ff252d5c856178c10ca22
parent 5c207b6a7c69ac693899f5c7c6df2b439d503abd
Author: acidvegas <acid.vegas@acid.vegas>
Date: Mon, 19 Jun 2023 03:03:21 -0400

Initialization of main function no longer using loop_until_complete

Diffstat:
Mircp.py | 3+--

1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ircp.py b/ircp.py
@@ -524,8 +524,7 @@ else:
 	del found, targets_file
 	while True:
 		random.shuffle(targets)
-		loop = asyncio.get_event_loop()
-		loop.run_until_complete(main(targets))
+		asyncio.run(main(targets))
 		debug('IRCP has finished probing!')
 		if settings.daemon:
 			backup(time.strftime('%y%m%d-%H%M%S'))