Refactor in treatment analysis
This commit is contained in:
parent
2af56e606a
commit
342bb9acdc
3 changed files with 34 additions and 47 deletions
|
|
@ -272,7 +272,6 @@ def treat_alias(msg):
|
|||
|
||||
# Avoid infinite recursion
|
||||
if not isinstance(rpl_msg, Command) or msg.cmd != rpl_msg.cmd:
|
||||
# Also return origin message, if it can be treated as well
|
||||
return [msg, rpl_msg]
|
||||
return rpl_msg
|
||||
|
||||
return msg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue