From bb72110f2ff0ed8f64e61eb578d60040c914a99a Mon Sep 17 00:00:00 2001 From: Leandro Silva Ferreira Date: Wed, 8 Aug 2012 12:04:23 -0400 Subject: Removed wrong code that was generating errors on connections. --- src/org/traccar/GenericPipelineFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() + " - "; -- cgit v1.2.3