- Custom tracker map AIOOBE fix, thx kytv

This commit is contained in:
zzz
2012-05-23 22:40:03 +00:00
parent 501f2f85d5
commit 4979f8dace
3 changed files with 3 additions and 2 deletions

View File

@ -1442,7 +1442,7 @@ public class SnarkManager implements Snark.CompleteListener {
String name = toks[i].trim().replace(",", ",");
String url = toks[i+1].trim().replace(",", ",");
if ( (name.length() > 0) && (url.length() > 0) ) {
String urls[] = DEFAULT_TRACKERS[i+1].split("=", 2);
String urls[] = url.split("=", 2);
String url2 = urls.length > 1 ? urls[1] : null;
_trackerMap.put(name, new Tracker(name, urls[0], url2));
}