From eb663243cfbd314320a9b30ee3e08ad37e8c3628 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 21 Jan 2021 15:22:01 +0100 Subject: [PATCH] fix --- rules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.go b/rules.go index 7fa1d37..13877d9 100644 --- a/rules.go +++ b/rules.go @@ -171,7 +171,7 @@ func resetMsgParsingRules() error { } rules2 = append(rules2, r) - if len(o.Craft.Command) > 6 && o.Craft.Command[0:4] == "/brew_" { + if len(o.Craft.Command) > 6 && o.Craft.Command[0:6] == "/brew_" { fmt.Printf("Inserting %s\n", o.Code) r = MessageParsingRule{ Priority: 9998,