diff options
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 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 { |