From a2003f130b4d3a09649c47cb59bc1c63057751c5 Mon Sep 17 00:00:00 2001 From: DogooFalchion Date: Sat, 22 Oct 2016 19:03:32 -0400 Subject: [PATCH] Do not append Tshock to the MotD path. --- TShockAPI/Rest/RestManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Rest/RestManager.cs b/TShockAPI/Rest/RestManager.cs index 2bbc5e24..9c669a38 100644 --- a/TShockAPI/Rest/RestManager.cs +++ b/TShockAPI/Rest/RestManager.cs @@ -280,7 +280,7 @@ namespace TShockAPI [Token] private object ServerMotd(RestRequestArgs args) { - string motdFilePath = Path.Combine(TShock.SavePath, FileTools.MotdPath); + string motdFilePath = FileTools.MotdPath; if (!File.Exists(motdFilePath)) return this.RestError("The motd.txt was not found.", "500");