aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-01-15 13:42:58 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-01-15 13:42:58 +1300
commite6762fdb368ed639e1726c5f423512b38d397580 (patch)
tree1a0d1d6bf126f3d2cc0504250ed828364a18f722 /src/org/traccar
parent9fe73b049bd739a65b57ec96dec357b0abe42aee (diff)
downloadtraccar-server-e6762fdb368ed639e1726c5f423512b38d397580.tar.gz
traccar-server-e6762fdb368ed639e1726c5f423512b38d397580.tar.bz2
traccar-server-e6762fdb368ed639e1726c5f423512b38d397580.zip
Fix xexun server init method
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/ServerManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java
index 1bf2a09b7..6734d343d 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -324,7 +324,7 @@ public class ServerManager {
serverList.add(new TrackerServer(this, new ServerBootstrap(), protocol) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- if (Boolean.valueOf(properties.containsKey(protocol + ".extended"))) {
+ if (Boolean.valueOf(properties.getProperty(protocol + ".extended"))) {
pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024)); // tracker bug \n\r
pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("objectDecoder", new Xexun2ProtocolDecoder(dataManager, protocol, properties));