[alias] Fix #83

This commit is contained in:
nemunaire 2015-06-11 00:09:33 +02:00
commit ed6da06271

View file

@ -177,7 +177,8 @@ def treat_alias(msg):
# Avoid infinite recursion
if msg.cmd != nmsg.cmd:
return nmsg
# Also return origin message, if it can be treated as well
return [msg, nmsg]
return msg