Update BotClientService.cs
This commit is contained in:
parent
14ff1b221d
commit
ec038b53d3
1 changed files with 1 additions and 4 deletions
|
|
@ -111,10 +111,6 @@ namespace SecondBotEvents.Services
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
LogFormater.Info("Client service ~ Login status: " + e.Status.ToString());
|
LogFormater.Info("Client service ~ Login status: " + e.Status.ToString());
|
||||||
if (e.Status == LoginStatus.Success)
|
|
||||||
{
|
|
||||||
master.TriggerBotClientEvent(false, false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
public void SendIM(UUID avatar, string message)
|
public void SendIM(UUID avatar, string message)
|
||||||
{
|
{
|
||||||
|
|
@ -198,6 +194,7 @@ namespace SecondBotEvents.Services
|
||||||
{
|
{
|
||||||
ResetClient();
|
ResetClient();
|
||||||
goodticks = 0;
|
goodticks = 0;
|
||||||
|
master.TriggerBotClientEvent(false, false);
|
||||||
LoginParams loginParams = new LoginParams(
|
LoginParams loginParams = new LoginParams(
|
||||||
client,
|
client,
|
||||||
basicCfg.GetFirstName(),
|
basicCfg.GetFirstName(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue