summaryrefslogtreecommitdiff
path: root/helpfuncs.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpfuncs.go')
-rw-r--r--helpfuncs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpfuncs.go b/helpfuncs.go
index c9f2a0d..df49ae5 100644
--- a/helpfuncs.go
+++ b/helpfuncs.go
@@ -118,7 +118,7 @@ func renameUser(oldname, newname string) {
if role == cfg.AssistantRole {
continue
}
- if role == cfg.ToolRole {
+ if role == "tool" {
continue
}
if role == "system" {