aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-08 12:04:23 -0400
committerLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-08 12:04:23 -0400
commitbb72110f2ff0ed8f64e61eb578d60040c914a99a (patch)
tree1bbe48d36a1269949bee9462c1843851e6e71089 /src
parent96bc0ffa914d89e3b58e6e8642d201bb016c31ee (diff)
downloadtrackermap-server-bb72110f2ff0ed8f64e61eb578d60040c914a99a.tar.gz
trackermap-server-bb72110f2ff0ed8f64e61eb578d60040c914a99a.tar.bz2
trackermap-server-bb72110f2ff0ed8f64e61eb578d60040c914a99a.zip
Removed wrong code that was generating errors on connections.
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/GenericPipelineFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/GenericPipelineFactory.java b/src/org/traccar/GenericPipelineFactory.java
index db3c378ba..521b8bc74 100644
--- a/src/org/traccar/GenericPipelineFactory.java
+++ b/src/org/traccar/GenericPipelineFactory.java
@@ -59,7 +59,7 @@ public abstract class GenericPipelineFactory implements ChannelPipelineFactory {
@Override
public void log(ChannelEvent e) {
- server.mandaMSG();
+
if (e instanceof MessageEvent) {
MessageEvent event = (MessageEvent) e;
String msg = "[" + ((InetSocketAddress) e.getChannel().getLocalAddress()).getPort() + " - ";