From da633a58317301dbfcda9da9503b4434122d781d Mon Sep 17 00:00:00 2001 From: Uncled1023 Date: Fri, 26 Jan 2018 18:48:12 -0800 Subject: [PATCH] Removed invalid contact info and added link to abuse page. Added check for premium user's when cleaning inactive accounts. --- ServerMaint/Program.cs | 6 ++++++ .../Areas/Contact/Views/Contact/Index.cshtml | 21 +++++++------------ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/ServerMaint/Program.cs b/ServerMaint/Program.cs index 8ea7a7b..e24b19f 100644 --- a/ServerMaint/Program.cs +++ b/ServerMaint/Program.cs @@ -537,6 +537,12 @@ Thank you for your continued use of Teknik! continue; } + // If they are Premium, don't worry about it either + if (user.AccountType == AccountType.Premium && user.AccountStatus != AccountStatus.Banned) + { + continue; + } + #region Inactivity Finding DateTime lastActivity = DateTime.Now; try diff --git a/Teknik/Areas/Contact/Views/Contact/Index.cshtml b/Teknik/Areas/Contact/Views/Contact/Index.cshtml index bc9be53..14f9067 100644 --- a/Teknik/Areas/Contact/Views/Contact/Index.cshtml +++ b/Teknik/Areas/Contact/Views/Contact/Index.cshtml @@ -1,4 +1,4 @@ -@model Teknik.Areas.Contact.ViewModels.ContactViewModel +@model Teknik.Areas.Contact.ViewModels.ContactViewModel @using Teknik.Utilities @@ -65,26 +65,21 @@ +
+

If you want to report abuse, follow the instructions at the Abuse Prevention page.

+
Where to find us -
- Teknik on Rizon IRC
- #Teknik (irc.rizon.net)
-
-
- /g/ Technology on Rizon IRC
- #/g/technology (irc.rizon.net)
-
-
- Teknik IRC
- #teknik (irc.teknik.io)
-
Customer Support
@Model.Config.SupportEmail
+
+ Teknik on Rizon IRC
+ #Teknik (irc.rizon.net)
+