IRCP

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

commit 5c207b6a7c69ac693899f5c7c6df2b439d503abd
parent b5188fd38a5ad939526bcb9fbc389859a019d8e4
Author: acidvegas <acid.vegas@acid.vegas>
Date: Sun, 18 Jun 2023 22:12:00 -0400

No need to delete loops if we are going to quit

Diffstat:
Mircp.py | 2--

1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/ircp.py b/ircp.py
@@ -240,7 +240,6 @@ class probe:
 			while self.nicks['check']:
 				await asyncio.sleep(1)
 			self.loops['whois'].cancel()
-			del self.loops['whois']
 			await self.raw('QUIT')
 		except asyncio.CancelledError:
 			pass
@@ -357,7 +356,6 @@ class probe:
 						self.channels['users'][chan] = users
 				elif event == '323': # RPL_LISTEND
 					if self.channels['all']:
-						del self.loops['init'] # TODO: do we need to cancle this first?
 						debug(self.display + '\033[36mLIST\033[0m found \033[93m{0}\033[0m channel(s)'.format(str(len(self.channels['all']))))
 						self.loops['chan']  = asyncio.create_task(self.loop_channels())
 						self.loops['nick']  = asyncio.create_task(self.loop_nick())