diff options
author | rsudev <rasch@munin-soft.de> | 2012-04-14 15:15:58 +0200 |
---|---|---|
committer | rsudev <rasch@munin-soft.de> | 2012-04-14 15:20:09 +0200 |
commit | a34e939c0a7835721ec85701e5ac1ebdd4fb00a9 (patch) | |
tree | 368a9710cbe445bfa6dbf941cf99797308cff9b1 /main/src/cgeo/geocaching/connector | |
parent | f5d5d789f9e840b342492ee3a9400de35878ebac (diff) | |
download | cgeo-a34e939c0a7835721ec85701e5ac1ebdd4fb00a9.zip cgeo-a34e939c0a7835721ec85701e5ac1ebdd4fb00a9.tar.gz cgeo-a34e939c0a7835721ec85701e5ac1ebdd4fb00a9.tar.bz2 |
Fix #1401, do a nearby search on live map only for premium members
Diffstat (limited to 'main/src/cgeo/geocaching/connector')
-rw-r--r-- | main/src/cgeo/geocaching/connector/gc/GCBase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCBase.java b/main/src/cgeo/geocaching/connector/gc/GCBase.java index 99282c1..680cc35 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCBase.java +++ b/main/src/cgeo/geocaching/connector/gc/GCBase.java @@ -183,7 +183,7 @@ public class GCBase { } } - if (strategy.flags.contains(StrategyFlag.SEARCH_NEARBY)) { + if (strategy.flags.contains(StrategyFlag.SEARCH_NEARBY) && Settings.isPremiumMember()) { Geopoint center = viewport.getCenter(); if ((lastSearchViewport == null) || !lastSearchViewport.contains(center)) { SearchResult search = cgBase.searchByCoords(null, center, Settings.getCacheType(), false); |