From 47584d20c5c91189f0791b4b63ace361a25b614f Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Thu, 23 Jul 2020 18:14:11 -0500 Subject: [Bug] Pass text command arguments as array instead of using splat operating --- app/lib/command_tag/processor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib') diff --git a/app/lib/command_tag/processor.rb b/app/lib/command_tag/processor.rb index 118affee4..66a507f23 100644 --- a/app/lib/command_tag/processor.rb +++ b/app/lib/command_tag/processor.rb @@ -70,7 +70,7 @@ class CommandTag::Processor @statements.each do |statement| name = "handle_#{statement[0]}_#{suffix}" is_run_once = suffix.start_with?('once_') - public_send(name, *statement[1..-1]) if respond_to?(name) && !(is_run_once && @run_once.include?(name)) + public_send(name, statement[1..-1]) if respond_to?(name) && !(is_run_once && @run_once.include?(name)) @run_once << name if is_run_once end end -- cgit