Hello rule patched
This commit is contained in:
@@ -30,5 +30,11 @@ func (m RegexMatcher) Build(cmd string, datas ...string) (string, bool) {
|
||||
str += " " + data
|
||||
}
|
||||
|
||||
return str, m.Match(str)
|
||||
str += "\r\n"
|
||||
|
||||
if m.Match(str) {
|
||||
return str, true
|
||||
} else {
|
||||
return "", false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user