mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-16 05:04:48 +00:00
fix: don't try and reconnect after failed SendText as the reconnect timer will already be running
This commit is contained in:
@@ -193,7 +193,6 @@ namespace PepperDash.Core
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
Debug.Console(1, this, "SendText() called but not connected");
|
Debug.Console(1, this, "SendText() called but not connected");
|
||||||
Disconnect(SocketStatus.SOCKET_STATUS_NO_CONNECT);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -214,7 +213,6 @@ namespace PepperDash.Core
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
Debug.Console(1, this, "SendText() called but not connected");
|
Debug.Console(1, this, "SendText() called but not connected");
|
||||||
Disconnect(SocketStatus.SOCKET_STATUS_NO_CONNECT);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user