diff options
-rw-r--r-- | keep.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -199,6 +199,10 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { purell.FlagRemoveFragment| purell.FlagSortQuery) + // In this context, leading/trailing dots are more commonly punctuating + // and generate invalid URLs if preserved + uStr = strings.Trim(uStr, ".") + // Ensure host is not present in ignoreList set if isIgnored(config.Ignore, uStr) { continue |