summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui.go b/tui.go
index 4938a01..babdfb9 100644
--- a/tui.go
+++ b/tui.go
@@ -950,7 +950,7 @@ func init() {
persona = cfg.WriteNextMsgAs
}
// check if plain text
- if injectRole == false {
+ if !injectRole {
matches := roleRE.FindStringSubmatch(msgText)
if len(matches) > 1 {
persona = matches[1]