From 464f4f079040805ed984140cbb8e383cfea91207 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 24 Aug 2019 10:43:42 +0100 Subject: [PATCH] Leading @ --- epicyon.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/epicyon.py b/epicyon.py index aed2e7de..bd0a4969 100644 --- a/epicyon.py +++ b/epicyon.py @@ -805,7 +805,12 @@ if args.dat: if args.actor: if '@' not in args.actor: print('Syntax: --actor nickname@domain') - sys.exit() + sys.exit() + if args.actor.startswith('@'): + args.actor=args.actor[1:] + if '@' not in args.actor: + print('Syntax: --actor nickname@domain') + sys.exit() nickname=args.actor.split('@')[0] domain=args.actor.split('@')[1].replace('\n','') wfCache={}