aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-05-25 20:12:43 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-05-25 20:12:43 +1200
commitcd0527ebafe7199b1a171b95bf09aff79f5243e4 (patch)
treecad56aa39d93923dadf66f4bd215dc6c003248cc /src/org/traccar/protocol
parent36f9cfdee90a4fad82a3e23186fd3d19e01dc025 (diff)
downloadtrackermap-server-cd0527ebafe7199b1a171b95bf09aff79f5243e4.tar.gz
trackermap-server-cd0527ebafe7199b1a171b95bf09aff79f5243e4.tar.bz2
trackermap-server-cd0527ebafe7199b1a171b95bf09aff79f5243e4.zip
Fix meiligao decoder (fix #709)
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
index c1b75d00f..6e6c6547a 100644
--- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
@@ -117,7 +117,7 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder {
private String getMeiligaoServer(Channel channel) {
if (getServerManager() != null &&
- getServerManager().getProperties().contains("meiligao.server")) {
+ getServerManager().getProperties().containsKey("meiligao.server")) {
return getServerManager().getProperties().getProperty("meiligao.server");
} else {
InetSocketAddress address = (InetSocketAddress) channel.getLocalAddress();