aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
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
parent36f9cfdee90a4fad82a3e23186fd3d19e01dc025 (diff)
downloadtraccar-server-cd0527ebafe7199b1a171b95bf09aff79f5243e4.tar.gz
traccar-server-cd0527ebafe7199b1a171b95bf09aff79f5243e4.tar.bz2
traccar-server-cd0527ebafe7199b1a171b95bf09aff79f5243e4.zip
Fix meiligao decoder (fix #709)
Diffstat (limited to 'src/org/traccar')
-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();