Skip to content

Commit

Permalink
Merge pull request #122 from Cyberboss/SettingFixAgain
Browse files Browse the repository at this point in the history
Settings fix again
  • Loading branch information
Cyberboss authored Jul 5, 2017
2 parents ef07437 + c25bdc6 commit 0b876b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion TGServerService/Interop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ void NudgeHandler()
catch (Exception e)
{
TGServerService.WriteError("Nudge handler thread crashed: " + e.ToString(), TGServerService.EventID.NudgeCrash);
SendMessage("The relay handler crashed, use relayrestart to restore it! Error: " + e.Message, ChatMessageType.AdminInfo);
SendMessage("SERVICE: The relay handler crashed, use relayrestart to restore it! Error: " + e.Message, ChatMessageType.AdminInfo);
}
}
}
Expand Down
1 change: 1 addition & 0 deletions TGServerService/ServerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public TGServerService()
var newVersion = Properties.Settings.Default.SettingsVersion;
Properties.Settings.Default.Upgrade();
var oldVersion = Properties.Settings.Default.SettingsVersion;
Properties.Settings.Default.SettingsVersion = newVersion;

MigrateSettings(oldVersion, newVersion);

Expand Down

0 comments on commit 0b876b7

Please sign in to comment.