Skip to content

Commit 2404ed3

Browse files
committed
no sc2ranks url for gateway xx
1 parent 4d1d425 commit 2404ed3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/esdb/identity.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ def race_name
2323
end
2424

2525
def sc2ranks_url
26-
"http://sc2ranks.com/#{gateway}/#{bnet_id}/#{name}"
26+
if gateway == 'xx'
27+
nil
28+
else
29+
"http://sc2ranks.com/#{gateway}/#{bnet_id}/#{name}"
30+
end
2731
end
2832
end
2933
end

0 commit comments

Comments
 (0)