about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-18 03:15:47 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:19 -0500
commit2501153a467cbe9dd8dd30a70f9bd0998700f7e2 (patch)
tree0887bab9e24d9db5fc8e6c01d7de43baacb4ef50
parent1c35b74b997c3f74475a709529221459e7d4f847 (diff)
[Command Tags] Run setup handlers in sort order
-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 01c06faf3..67d16d237 100644
--- a/app/lib/command_tag/processor.rb
+++ b/app/lib/command_tag/processor.rb
@@ -95,7 +95,7 @@ class CommandTag::Processor
   private
 
   def all_handlers!(affix)
-    self.class.instance_methods.grep(/\Ahandle_\w+_#{affix}\z/).each do |name|
+    self.class.instance_methods.grep(/\Ahandle_\w+_#{affix}\z/).sort.each do |name|
       public_send(name)
     end
   end