IRCP- information gathering tool for irc servers |
git clone git://git.acid.vegas/IRCP.git |
Log | Files | Refs | Archive | README | LICENSE |
commit e69d2e8739e47adc8f4d80d0c8b19920d1b423ec
parent 5c7f428399ac16ef1bfb4557d345bae30389b77d Author: acidvegas <acid.vegas@acid.vegas> Date: Mon, 5 Jun 2023 16:13:26 -0400 Renamed badchans to badchan Diffstat:
|
1 file changed, 2 insertions(+), 2 deletions(-) |
diff --git a/ircp.py b/ircp.py @@ -245,11 +245,11 @@ class probe: self.snapshot['RAW'] = self.snapshot['RAW']+[line,] if 'RAW' in self.snapshot else [line,] else: self.snapshot[event] = self.snapshot[event]+[line,] if event in self.snapshot else [line,] - if event in badchans and len(args) >= 4: + if event in badchan and len(args) >= 4: chan = args[3] if chan in self.channels['users']: del self.channels['users'][chan] - error(f'{self.display}\033[31merror\033[0m - {chan}', badchans[event]) + error(f'{self.display}\033[31merror\033[0m - {chan}', badchan[event]) elif line.startswith('ERROR :'): if line.startswith('ERROR :Closing Link'): if 'dronebl' in line.lower(): |