From e15aa0a19d10d0c3ffebb657f9070b467755bcbd Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Wed, 5 Jul 2017 15:12:55 -0400 Subject: [PATCH 1/2] Fix settings version again --- TGServerService/ServerService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TGServerService/ServerService.cs b/TGServerService/ServerService.cs index dd031462ce6..7cbc5fb224e 100644 --- a/TGServerService/ServerService.cs +++ b/TGServerService/ServerService.cs @@ -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); From c25bdc6c08d9b9cf803028c02cc1640cb1101c66 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Wed, 5 Jul 2017 15:16:52 -0400 Subject: [PATCH 2/2] Fix this message --- TGServerService/Interop.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TGServerService/Interop.cs b/TGServerService/Interop.cs index c0374bb74c5..e9a2b943ba0 100644 --- a/TGServerService/Interop.cs +++ b/TGServerService/Interop.cs @@ -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); } } }