diff --git a/data/plugins/bootstrap.rb b/data/plugins/bootstrap.rb index b0318876..75c90ef9 100644 --- a/data/plugins/bootstrap.rb +++ b/data/plugins/bootstrap.rb @@ -178,7 +178,7 @@ def on_message(args, proc) message = args[0].to_s option = 0 - (0..numbers.length).each do |index| + (0...numbers.length).each do |index| number = numbers[index] if message.start_with?(number)