From ad9896f2b7fc504c70b3da903f694abed417294d Mon Sep 17 00:00:00 2001 From: Kenzie Togami Date: Fri, 16 Sep 2016 10:02:51 -0700 Subject: [PATCH] this is my addition --- .../irc/client/library/implementation/NettyManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/kitteh/irc/client/library/implementation/NettyManager.java b/src/main/java/org/kitteh/irc/client/library/implementation/NettyManager.java index 7c317f499..cb4f69832 100644 --- a/src/main/java/org/kitteh/irc/client/library/implementation/NettyManager.java +++ b/src/main/java/org/kitteh/irc/client/library/implementation/NettyManager.java @@ -340,7 +340,7 @@ public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws E this.firstRemove = true; } if (cause instanceof Exception) { - client.getExceptionListener().queue((Exception) cause); + DCCConnection.this.client.getExceptionListener().queue((Exception) cause); } } }); @@ -348,7 +348,7 @@ public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws E @Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { if (cause instanceof Exception) { - client.getExceptionListener().queue((Exception) cause); + DCCConnection.this.client.getExceptionListener().queue((Exception) cause); } } });