summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-04 18:58:28 -0700
committerJared Adams <jaxad0127@gmail.com>2010-01-04 19:01:57 -0700
commit7fb4432dee68ef6340b7be778e5d07ee17674169 (patch)
tree2235d7e0ad2961f6619e8089a4cc1772c27cec47
parentfb34e63289307d3b4c304199eed2bca50c628fa4 (diff)
downloadtmwa-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-xipcheck.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipcheck.rb b/ipcheck.rb
index 20ef57b..7c2e22a 100755
--- a/ipcheck.rb
+++ b/ipcheck.rb
@@ -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