diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs
index 1f8ad18a..f6acb8e7 100644
--- a/TShockAPI/TShock.cs
+++ b/TShockAPI/TShock.cs
@@ -73,11 +73,6 @@ namespace TShockAPI
/// LogClear - Determines whether or not the log file should be cleared on initialization.
private static bool LogClear;
- ///
- /// Set by the command line, disables the '/restart' command.
- ///
- internal static bool NoRestart;
-
/// Will be set to true once Utils.StopServer() is called.
public static bool ShuttingDown;
@@ -768,8 +763,7 @@ namespace TShockAPI
.AddFlag("-logclear", () => LogClear = true)
.AddFlag("-autoshutdown", () => Main.instance.EnableAutoShutdown())
.AddFlag("-dump", () => Utils.Dump())
- .AddFlag("--stats-optout", () => StatTracker.OptOut = true)
- .AddFlag("--no-restart", () => NoRestart = true);
+ .AddFlag("--stats-optout", () => StatTracker.OptOut = true);
CliParser.ParseFromSource(parms);
}