From e2ceef0a32b13f79232294b12559fac5d4815d6b Mon Sep 17 00:00:00 2001 From: Graham Date: Wed, 27 Jul 2022 21:54:37 +0100 Subject: [PATCH] Fix case Signed-off-by: Graham --- .../kotlin/org/openrs2/game/net/Rs2ChannelInitializer.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/game/src/main/kotlin/org/openrs2/game/net/Rs2ChannelInitializer.kt b/game/src/main/kotlin/org/openrs2/game/net/Rs2ChannelInitializer.kt index 2f4edd36..4bb7d9f3 100644 --- a/game/src/main/kotlin/org/openrs2/game/net/Rs2ChannelInitializer.kt +++ b/game/src/main/kotlin/org/openrs2/game/net/Rs2ChannelInitializer.kt @@ -18,15 +18,15 @@ import javax.inject.Singleton public class Rs2ChannelInitializer @Inject constructor( private val handlerProvider: Provider, @LoginUpstream - private val loginUpStreamProtocol: Protocol, + private val loginUpstreamProtocol: Protocol, @LoginDownstream - private val loginDownStreamProtocol: Protocol + private val loginDownstreamProtocol: Protocol ) : ChannelInitializer() { override fun initChannel(ch: Channel) { ch.pipeline().addLast( IdleStateHandler(true, TIMEOUT_SECS, TIMEOUT_SECS, TIMEOUT_SECS, TimeUnit.SECONDS), - Rs2Decoder(loginUpStreamProtocol), - Rs2Encoder(loginDownStreamProtocol), + Rs2Decoder(loginUpstreamProtocol), + Rs2Encoder(loginDownstreamProtocol), handlerProvider.get() ) }