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,