[alias] Fix #83
This commit is contained in:
parent
cacf216e36
commit
ed6da06271
1 changed files with 2 additions and 1 deletions
|
|
@ -177,7 +177,8 @@ def treat_alias(msg):
|
||||||
|
|
||||||
# Avoid infinite recursion
|
# Avoid infinite recursion
|
||||||
if msg.cmd != nmsg.cmd:
|
if msg.cmd != nmsg.cmd:
|
||||||
return nmsg
|
# Also return origin message, if it can be treated as well
|
||||||
|
return [msg, nmsg]
|
||||||
|
|
||||||
return msg
|
return msg
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue