mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
parse_args: ignore extra spaces not part of the final multi-word arg
This commit is contained in:
parent
188d0f647e
commit
aba198dbd6
@ -95,7 +95,8 @@ class IRCCommonProtocol(IRCNetwork):
|
||||
joined_arg = ' '.join(args[idx:])[1:] # Cut off the leading : as well
|
||||
real_args.append(joined_arg)
|
||||
break
|
||||
real_args.append(arg)
|
||||
elif arg.strip(): # Skip empty args that aren't part of the multi-word arg
|
||||
real_args.append(arg)
|
||||
|
||||
return real_args
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user