diff options
author | Abyss777 <abyss@fox5.ru> | 2017-11-10 09:56:30 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-11-10 09:56:30 +0500 |
commit | 96d89e2e352f5cba70a346b1f71bfb3bd399556b (patch) | |
tree | bfec39fe84b547dac991f0d38cd69e9c64c688a6 /src/org/traccar/BasePipelineFactory.java | |
parent | 404044342a9fc9891366fa4378b4b1330cbca6c3 (diff) | |
download | trackermap-server-96d89e2e352f5cba70a346b1f71bfb3bd399556b.tar.gz trackermap-server-96d89e2e352f5cba70a346b1f71bfb3bd399556b.tar.bz2 trackermap-server-96d89e2e352f5cba70a346b1f71bfb3bd399556b.zip |
- Combine "getAddress" functions
- Change switches logic
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java index 27b9678a3..aa188d209 100644 --- a/src/org/traccar/BasePipelineFactory.java +++ b/src/org/traccar/BasePipelineFactory.java @@ -141,7 +141,7 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { filterHandler = new FilterHandler(); } - if (Context.getConfig().getBoolean("geocoder.enable")) { + if (Context.getGeocoder() != null && !Context.getConfig().getBoolean("geocoder.ignorePositions")) { geocoderHandler = new GeocoderHandler( Context.getGeocoder(), Context.getConfig().getBoolean("geocoder.processInvalidPositions")); |