Browse Source

Fix: longName not get by bot

Martin Passard 7 years ago
parent
commit
f04b0366f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/Cache.java

+ 1 - 1
src/main/Cache.java

@@ -132,7 +132,7 @@ public class Cache {
 	
 	
 	public ISP getISPWithName(String s) {
 	public ISP getISPWithName(String s) {
 		for(ISP i : cache) {
 		for(ISP i : cache) {
-			if(i.getShortestName().equalsIgnoreCase(s)) {
+			if(i.getShortestName().equalsIgnoreCase(s) || i.getName().equalsIgnoreCase(s)) {
 				return i;
 				return i;
 			}
 			}
 		}
 		}