Server => Interface

This commit is contained in:
Cyberboss
2017-10-20 14:12:46 -04:00
parent 81adbb454a
commit 2fba289804
21 changed files with 456 additions and 456 deletions
+2 -2
View File
@@ -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;