plugins/llama: o is optional, not a capture

This commit is contained in:
Aaron Bieber 2024-08-06 13:02:55 -06:00
parent f63bdb988f
commit ba84599b54
No known key found for this signature in database

View File

@ -24,7 +24,7 @@ func (l *Llama) Descr() string {
} }
func (l *Llama) Re() string { func (l *Llama) Re() string {
return `(?i)^(o)?llama:(.+)$` return `(?i)^o?llama:(.+)$`
} }
func (l *Llama) Match(_, msg string) bool { func (l *Llama) Match(_, msg string) bool {