mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Use correct range operator to fix #72.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user