about summary refs log tree commit diff
path: root/app/lib/command_tag/commands/variables.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-27 15:29:34 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:16 -0500
commit89b5668d48229c18f89a7e34b814ea2cb0231422 (patch)
tree0b4476d7fd46633fc70a271dee13947e4f346bab /app/lib/command_tag/commands/variables.rb
parent1bd2aa1fd6a16c2067255b936da071d451aee884 (diff)
[Command Tags] Simplify tag processing and add support for return value templates
Diffstat (limited to 'app/lib/command_tag/commands/variables.rb')
-rw-r--r--app/lib/command_tag/commands/variables.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/lib/command_tag/commands/variables.rb b/app/lib/command_tag/commands/variables.rb
index ab90ca13b..997131cd9 100644
--- a/app/lib/command_tag/commands/variables.rb
+++ b/app/lib/command_tag/commands/variables.rb
@@ -9,8 +9,6 @@ module CommandTag::Commands::Variables
     case args.count
     when 1
       @vars.delete(args[0])
-    when 2
-      @vars[args[0]] = [args.last]
     else
       @vars[args[0]] = args[1..-1]
     end