mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Remove empty strings in args.
This commit is contained in:
parent
f1b53073fb
commit
2dcc0779ff
@ -85,6 +85,7 @@ class Utilities(callbacks.Privmsg):
|
||||
nested commands to run, but only the output of the last one to be
|
||||
returned.
|
||||
"""
|
||||
args = filter(None, args)
|
||||
if args:
|
||||
irc.reply(args[-1])
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user