From b60c8bbcc7dfccbd8cd5e87ad051659da06fa5ec Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sun, 18 Jun 2023 15:47:38 -0400 Subject: [PATCH] Added NickServ/ChanServ 'LIST *' commands --- ircp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ircp.py b/ircp.py index 6695d51..b8f5866 100644 --- a/ircp.py +++ b/ircp.py @@ -200,7 +200,7 @@ class probe: await asyncio.sleep(throttle.delay) cmds = ['ADMIN', 'CAP LS', 'HELP', 'INFO', 'IRCOPS', 'LINKS', 'MAP', 'MODULES -all', 'SERVLIST', 'STATS p', 'VERSION'] random.shuffle(cmds) - cmds += ['PRIVMSG NickServ :REGISTER {0} {1}'.format(self.login['pass'], self.login['mail']), 'LIST'] + cmds += ['PRIVMSG NickServ :REGISTER {0} {1}'.format(self.login['pass'], self.login['mail']), 'PRIVMSG ChanServ :LIST *', 'PRIVMSG NickServ :LIST *', 'LIST'] for command in cmds: try: await self.raw(command) @@ -399,7 +399,7 @@ class probe: if seconds.isdigit(): self.jthrottle = throttle.seconds if int(seconds) > throttle.seconds else int(seconds) error(self.display + '\033[31merror\033[0m - delay found', msg) - elif event == '465': # ERR_YOUREBANNEDCREEP + elif event == '465' and len(args) >= 5: # ERR_YOUREBANNEDCREEP check = [check for check in bad.error if check in line.lower()] if check: if check[0] in ('dronebl','dnsbl'):