mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-28 23:52:36 +01:00
Server => Interface
This commit is contained in:
@@ -9,7 +9,7 @@ namespace TGControlPanel
|
||||
[STAThread]
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Server.SetBadCertificateHandler(BadCertificateHandler);
|
||||
Interface.SetBadCertificateHandler(BadCertificateHandler);
|
||||
try
|
||||
{
|
||||
if (Properties.Settings.Default.UpgradeRequired)
|
||||
@@ -46,7 +46,7 @@ namespace TGControlPanel
|
||||
|
||||
public static bool CheckAdminWithWarning()
|
||||
{
|
||||
if (!Server.AuthenticateAdmin())
|
||||
if (!Interface.AuthenticateAdmin())
|
||||
{
|
||||
MessageBox.Show("Only system administrators may use this command!");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user