From 4f8bd1b431b709eaae14adb5ae20feecdb590952 Mon Sep 17 00:00:00 2001 From: Abdullah Saleem Date: Sun, 10 May 2015 20:38:08 +0500 Subject: [PATCH] NoIP.org Integration --- Server/Forms/FrmMain.cs | 4 ++-- Server/Forms/FrmSettings.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Server/Forms/FrmMain.cs b/Server/Forms/FrmMain.cs index 7289d4e4..c08bec1d 100644 --- a/Server/Forms/FrmMain.cs +++ b/Server/Forms/FrmMain.cs @@ -303,9 +303,9 @@ public void StartNoIpItegrator() updateThread.Start(); } - private void NoIpUdater() + public void NoIpUdater() { - while (true) + while (XMLSettings.IntegrateNoIP) { try { diff --git a/Server/Forms/FrmSettings.cs b/Server/Forms/FrmSettings.cs index 2ef6a51d..996fd5ed 100644 --- a/Server/Forms/FrmSettings.cs +++ b/Server/Forms/FrmSettings.cs @@ -101,10 +101,10 @@ private void btnSave_Click(object sender, EventArgs e) XMLSettings.NoIPHost = txtNoIPHost.Text; XMLSettings.WriteValue("NoIPUsername", txtNoIPUser.Text); - XMLSettings.NoIPHost = txtNoIPUser.Text; + XMLSettings.NoIPUsername = txtNoIPUser.Text; XMLSettings.WriteValue("NoIPPassword", txtNoIPPass.Text); - XMLSettings.NoIPHost = txtNoIPPass.Text; + XMLSettings.NoIPPassword = txtNoIPPass.Text; } this.Close();