about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-17 22:47:40 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:19 -0500
commitdf5b252fa7ccb1168478c0816e820a35a1eb14e1 (patch)
treef9f40dacf7923bb879d62cbdbbc502ffca3b5504 /app/lib
parent7c60194c81a9a329d9f5af141fb050816563171d (diff)
[Bug, Command Tags] Shift arguments when passing "i am"/"we are" alias to "footer" handler
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/command_tag/command/footer_tools.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/command_tag/command/footer_tools.rb b/app/lib/command_tag/command/footer_tools.rb
index f2ee39ffa..5ef39fe4a 100644
--- a/app/lib/command_tag/command/footer_tools.rb
+++ b/app/lib/command_tag/command/footer_tools.rb
@@ -37,7 +37,7 @@ module CommandTag::Command::FooterTools
   def handle_i_before_save(args)
     return if args.blank?
 
-    handle_footer_before_save(args.unshift) if %w(am are).include?(normalize(args[0]))
+    handle_footer_before_save(args[1..-1]) if %w(am are).include?(normalize(args[0]))
   end
 
   alias handle_we_before_save           handle_i_before_save