about summary refs log tree commit diff
path: root/app/lib/command_tag/processor.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-23 18:14:11 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:15 -0500
commit47584d20c5c91189f0791b4b63ace361a25b614f (patch)
treec51942899f2c05c99e185cf643577834480be113 /app/lib/command_tag/processor.rb
parent9ad70025d64be2a9ce012ad155ac249dd0e4c71b (diff)
[Bug] Pass text command arguments as array instead of using splat operating
Diffstat (limited to 'app/lib/command_tag/processor.rb')
-rw-r--r--app/lib/command_tag/processor.rb2
1 files changed, 1 insertions, 1 deletions
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