aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-09 19:37:19 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-09 19:37:19 +1200
commit14c62897716d57ba6271b522c2218210c2868c3c (patch)
treedb6f114694f31bb94cc1a63ebc4e298bf4696967 /src/org
parent360940ff6a048a22c61f1d0c3480e9900c15ee58 (diff)
downloadtrackermap-server-14c62897716d57ba6271b522c2218210c2868c3c.tar.gz
trackermap-server-14c62897716d57ba6271b522c2218210c2868c3c.tar.bz2
trackermap-server-14c62897716d57ba6271b522c2218210c2868c3c.zip
Enable status events by default (fix #3324)
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/database/ConnectionManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/ConnectionManager.java b/src/org/traccar/database/ConnectionManager.java
index cfa8cc7a0..0baafb578 100644
--- a/src/org/traccar/database/ConnectionManager.java
+++ b/src/org/traccar/database/ConnectionManager.java
@@ -48,7 +48,7 @@ public class ConnectionManager {
public ConnectionManager() {
deviceTimeout = Context.getConfig().getLong("status.timeout", DEFAULT_TIMEOUT) * 1000;
- enableStatusEvents = Context.getConfig().getBoolean("event.statusHandler");
+ enableStatusEvents = Context.getConfig().getBoolean("event.enable");
}
public void addActiveDevice(long deviceId, Protocol protocol, Channel channel, SocketAddress remoteAddress) {