mirror of
git://git.acid.vegas/IRCP.git
synced 2024-11-26 01:46:39 +00:00
Renamed badchans to badchan
This commit is contained in:
parent
5c7f428399
commit
e69d2e8739
4
ircp.py
4
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():
|
||||
|
Loading…
Reference in New Issue
Block a user