aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-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 de167b9d2..04a3fc317 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -87,7 +87,7 @@ public class ServerManager {
}
private boolean isProtocolEnabled(String protocol) {
- return Context.getProps().containsKey(protocol + ".port");
+ return Context.getConfig().hasKey(protocol + ".port");
}
private void initProtocolDetector() throws SQLException {