From 908dcb48731c152e36416a3546a62cacbffd35ff Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 16 Feb 2020 11:31:02 -0800 Subject: [PATCH] p10: ignore ACCOUNT subcommands other than R, M, and U --- protocols/p10.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocols/p10.py b/protocols/p10.py index d2f6d3c..d2f86f3 100644 --- a/protocols/p10.py +++ b/protocols/p10.py @@ -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