aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-24 00:39:56 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-09-24 00:39:56 +1200
commit137fe973583486303deaaea592a3a5f58304fa26 (patch)
tree97e5c0cb2f63fdabd19f02165215db5b9749f236 /src/org
parente3229237eb37654dbf7818fdf92a6f487a95c770 (diff)
downloadtraccar-server-137fe973583486303deaaea592a3a5f58304fa26.tar.gz
traccar-server-137fe973583486303deaaea592a3a5f58304fa26.tar.bz2
traccar-server-137fe973583486303deaaea592a3a5f58304fa26.zip
Fix a crash in base pipeline factory
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/BasePipelineFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index 615251d5f..837712e84 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -229,7 +229,7 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
pipeline.addLast("AlertEventHandler", alertEventHandler);
}
- if (alertEventHandler != null) {
+ if (ignitionEventHandler != null) {
pipeline.addLast("IgnitionEventHandler", ignitionEventHandler);
}