fix: Fixes stuck connections (#1708)
This commit is contained in:
parent
39215935cf
commit
183f6fa4ac
7 changed files with 136 additions and 120 deletions
|
|
@ -442,8 +442,6 @@ public static class IncomingAccountPackets
|
|||
|
||||
public static void AccountLogin(NetState state, SpanReader reader)
|
||||
{
|
||||
// TODO: Throttle Connection
|
||||
|
||||
if (state.SentFirstPacket)
|
||||
{
|
||||
state.Disconnect("Duplicate account login packet sent.");
|
||||
|
|
@ -478,6 +476,7 @@ public static class IncomingAccountPackets
|
|||
}
|
||||
else
|
||||
{
|
||||
state.Account = null;
|
||||
AccountLogin_ReplyRej(state, accountLoginEventArgs.RejectReason);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue