protected override void OnTick() { try { // add the recently logged in ip address to our default (this server) ip database string ipx = Accounts.GetIPMask(m_IPAddress); if (ipx != null && Accounts.IPDatabase.Count > 0) { if (!Accounts.IPDatabase[0].Contains(ipx)) { Accounts.IPDatabase[0].Add(ipx); } } Stop(); } catch (Exception ex) { LogHelper.LogException(ex); } }