3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

p10: ignore ACCOUNT subcommands other than R, M, and U

This commit is contained in:
James Lu 2020-02-16 11:31:02 -08:00
parent b083b6dede
commit 908dcb4873

View File

@ -1275,11 +1275,12 @@ class P10Protocol(IRCS2SProtocol):
# Any other subcommands listed at https://github.com/evilnet/nefarious2/blob/master/doc/p10.txt#L354
# shouldn't apply to us.
if args[1] in ('R', 'M'):
accountname = args[2]
elif args[1] == 'U':
accountname = '' # logout
else:
return
else:
# ircu or nefarious with F:EXTENDED_ACCOUNTS = FALSE