Removed update function

This commit is contained in:
high 2011-07-01 09:35:30 -04:00
parent 38ca8c1814
commit c7e953da1e

View file

@ -51,7 +51,6 @@ namespace TShockAPI
{ {
if (ServerIsOutOfDate()) if (ServerIsOutOfDate())
{ {
EnableUpdateCommand();
NotifyAdministrators(globalChanges); NotifyAdministrators(globalChanges);
} }
} }
@ -84,15 +83,6 @@ namespace TShockAPI
return false; return false;
} }
private static void EnableUpdateCommand()
{
if (!updateCmd)
{
Commands.AddUpdateCommand();
updateCmd = true;
}
}
private static void NotifyAdministrators(string[] changes) private static void NotifyAdministrators(string[] changes)
{ {
NotifyAdministrator(TSPlayer.Server, changes); NotifyAdministrator(TSPlayer.Server, changes);