aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/ExtendedObjectDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ExtendedObjectDecoder.java b/src/org/traccar/ExtendedObjectDecoder.java
index d0f82dace..b383d13c0 100644
--- a/src/org/traccar/ExtendedObjectDecoder.java
+++ b/src/org/traccar/ExtendedObjectDecoder.java
@@ -41,7 +41,7 @@ public abstract class ExtendedObjectDecoder implements ChannelUpstreamHandler {
ctx.sendUpstream(evt);
} else if (decodedMessage != null) {
if (decodedMessage instanceof Collection) {
- for (Object o : (Collection) e.getMessage()) {
+ for (Object o : (Collection) decodedMessage) {
fireMessageReceived(ctx, o, e.getRemoteAddress());
}
} else {