From 916eeaf7ddd280b87eb87efd59a209da5577a688 Mon Sep 17 00:00:00 2001 From: Iceflower Date: Sat, 29 Sep 2018 18:42:34 +0200 Subject: [PATCH] Add strikethrough to message filter https://modern.ircdocs.horse/formatting.html --- irc_struct.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc_struct.go b/irc_struct.go index e988745..6c696fc 100644 --- a/irc_struct.go +++ b/irc_struct.go @@ -87,7 +87,7 @@ func (e *Event) Message() string { // https://stackoverflow.com/a/10567935/6754440 // Regex of IRC formatting. -var ircFormat = regexp.MustCompile(`[\x02\x1F\x0F\x16\x1D]|\x03(\d\d?(,\d\d?)?)?`) +var ircFormat = regexp.MustCompile(`[\x02\x1F\x0F\x16\x1D\x1E]|\x03(\d\d?(,\d\d?)?)?`) // Retrieve the last message from Event arguments, but without IRC formatting (color. // This function leaves the arguments untouched and