mirror of
git://git.acid.vegas/IRCP.git
synced 2024-11-22 16:06:41 +00:00
Added WHOWAS support for 401 (ERR_NOSUCHNICK) replies
This commit is contained in:
parent
9a62ad2cbd
commit
f2e774b846
4
ircp.py
4
ircp.py
@ -376,8 +376,10 @@ class probe:
|
|||||||
nick = args[3]
|
nick = args[3]
|
||||||
if nick == 'ChanServ':
|
if nick == 'ChanServ':
|
||||||
self.services['chanserv'] = False
|
self.services['chanserv'] = False
|
||||||
if nick == 'NickServ':
|
elif nick == 'NickServ':
|
||||||
self.services['nickserv'] = False
|
self.services['nickserv'] = False
|
||||||
|
else:
|
||||||
|
await self.raw('WHOWAS ' + nick)
|
||||||
elif event == '421' and len(args) >= 3: # ERR_UNKNOWNCOMMAND
|
elif event == '421' and len(args) >= 3: # ERR_UNKNOWNCOMMAND
|
||||||
msg = ' '.join(args[2:])
|
msg = ' '.join(args[2:])
|
||||||
if 'You must be connected for' in msg:
|
if 'You must be connected for' in msg:
|
||||||
|
Loading…
Reference in New Issue
Block a user