mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
Fix: Broken caching of regular expressions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
11bd11081d
commit
58e984a4f4
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ func (r rule) MatcherID() string {
|
|||
return fmt.Sprintf("sha256:%x", out.Sum(nil))
|
||||
}
|
||||
|
||||
func (r rule) Matches(m *irc.Message, event *string) bool {
|
||||
func (r *rule) Matches(m *irc.Message, event *string) bool {
|
||||
var err error
|
||||
|
||||
var (
|
||||
|
|
Loading…
Reference in a new issue