Skip to content

Commit

Permalink
Re-enabled discord.gift site
Browse files Browse the repository at this point in the history
  • Loading branch information
CPULL committed Jan 23, 2022
1 parent 2fe0147 commit d3a7bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UPBot Code/Actions/CheckSpam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static int CalculateDistance(string s, out string siteToCheck) {
if (pos > 0) pos = s.LastIndexOf('.', pos - 1);
if (pos > 0) s = s[(pos + 1)..];

if (s == "discord.com" || s == "discord.gg" || s == "discordapp.com" || s == "discordapp.net") return 0;
if (s == "discord.com" || s == "discord.gg" || s == "discordapp.com" || s == "discordapp.net" || s == "discord.gift") return 0;
if (s == "steamcommunity.com" || s == "store.steampowered.com" || s == "steampowered.com") return 0;
if (s == "epicgames.com") return 0;
int extra = 0;
Expand Down

0 comments on commit d3a7bf3

Please sign in to comment.