mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
p10: ignore ACCOUNT subcommands other than R, M, and U
This commit is contained in:
parent
b083b6dede
commit
908dcb4873
@ -1275,11 +1275,12 @@ class P10Protocol(IRCS2SProtocol):
|
|||||||
|
|
||||||
# Any other subcommands listed at https://github.com/evilnet/nefarious2/blob/master/doc/p10.txt#L354
|
# Any other subcommands listed at https://github.com/evilnet/nefarious2/blob/master/doc/p10.txt#L354
|
||||||
# shouldn't apply to us.
|
# shouldn't apply to us.
|
||||||
|
|
||||||
if args[1] in ('R', 'M'):
|
if args[1] in ('R', 'M'):
|
||||||
accountname = args[2]
|
accountname = args[2]
|
||||||
elif args[1] == 'U':
|
elif args[1] == 'U':
|
||||||
accountname = '' # logout
|
accountname = '' # logout
|
||||||
|
else:
|
||||||
|
return
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# ircu or nefarious with F:EXTENDED_ACCOUNTS = FALSE
|
# ircu or nefarious with F:EXTENDED_ACCOUNTS = FALSE
|
||||||
|
Loading…
Reference in New Issue
Block a user