aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BasePipelineFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r--src/org/traccar/BasePipelineFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index d73b022ae..94a6d85aa 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -130,9 +130,9 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
Context.getReverseGeocoder(), Context.getConfig().getBoolean("geocoder.processInvalidPositions"));
}
- if (Context.getLocationProvider() != null) {
+ if (Context.getGeolocationProvider() != null) {
locationProviderHandler = new LocationProviderHandler(
- Context.getLocationProvider(), Context.getConfig().getBoolean("location.processInvalidPositions"));
+ Context.getGeolocationProvider(), Context.getConfig().getBoolean("location.processInvalidPositions"));
}
distanceHandler = new DistanceHandler();