diff options
-rw-r--r-- | app/lib/command_tag/processor.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/command_tag/processor.rb b/app/lib/command_tag/processor.rb index 4f11c0c0d..cbe5345c0 100644 --- a/app/lib/command_tag/processor.rb +++ b/app/lib/command_tag/processor.rb @@ -146,8 +146,8 @@ class CommandTag::Processor end def execute_statements(event) - @statements.select { |handler, _| handler.end_with?("_#{event}") }.each do |handler, arguments| - public_send(handler, arguments) + @statements.each do |handler, arguments| + public_send(handler, arguments) if handler.end_with?("_#{event}") end end |