diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-01-15 13:42:58 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-01-15 13:42:58 +1300 |
commit | e6762fdb368ed639e1726c5f423512b38d397580 (patch) | |
tree | 1a0d1d6bf126f3d2cc0504250ed828364a18f722 /src/org/traccar/ServerManager.java | |
parent | 9fe73b049bd739a65b57ec96dec357b0abe42aee (diff) | |
download | trackermap-server-e6762fdb368ed639e1726c5f423512b38d397580.tar.gz trackermap-server-e6762fdb368ed639e1726c5f423512b38d397580.tar.bz2 trackermap-server-e6762fdb368ed639e1726c5f423512b38d397580.zip |
Fix xexun server init method
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r-- | src/org/traccar/ServerManager.java | 2 |
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)); |