mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
fix: removes condition that blocked BeginPolling method call if using socket connection method
This commit is contained in:
parent
4854018d7b
commit
a673122e00
1 changed files with 2 additions and 4 deletions
|
|
@ -158,10 +158,8 @@ namespace PepperDash.Essentials.Core
|
|||
Client.TextReceived += Client_TextReceived;
|
||||
}
|
||||
|
||||
if (!IsSocket)
|
||||
{
|
||||
BeginPolling();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void socket_ConnectionChange(object sender, GenericSocketStatusChageEventArgs e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue