diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-01-04 18:58:28 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-01-04 19:01:57 -0700 |
commit | 7fb4432dee68ef6340b7be778e5d07ee17674169 (patch) | |
tree | 2235d7e0ad2961f6619e8089a4cc1772c27cec47 | |
parent | fb34e63289307d3b4c304199eed2bca50c628fa4 (diff) | |
download | tmwa-7fb4432dee68ef6340b7be778e5d07ee17674169.tar.gz tmwa-7fb4432dee68ef6340b7be778e5d07ee17674169.tar.bz2 tmwa-7fb4432dee68ef6340b7be778e5d07ee17674169.tar.xz tmwa-7fb4432dee68ef6340b7be778e5d07ee17674169.zip |
Fix IP checker tool to do case insensitive compare
-rwxr-xr-x | ipcheck.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ File.open("save/athena.txt", "r") do |f| account_id, char_index = split[1].split(',') character_name = split[2] characters.push(Character.new(character_name, account_id)) - if $search_character == character_name + if $search_character.casecmp(character_name) == 0 puts "Searching for account #{account_id}" $search_account_id = account_id end |