Merge pull request #111 from IceflowRE/master

Add strikethrough to message filter
Цей коміт міститься в:
Thomas Jager
2019-03-01 11:51:15 +01:00
зафіксовано GitHub
джерело 4a9f9901cc 916eeaf7dd
коміт dc1855cb43

Переглянути файл

@@ -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