Set default user modes when always-on clients reconnect.

Add default-user-modes configuration to conventional.yaml.
Fix comment on DefaultUserModes.
This commit is contained in:
Alex Jaspersen 2020-04-30 04:38:19 +00:00 committed by Alex Jaspersen
parent 52910a185c
commit b3a7e5c996
3 changed files with 11 additions and 1 deletions

View file

@ -22,7 +22,7 @@ var (
}
// DefaultUserModes are set on all users when they login.
// this can be overridden in the `server` config, with the `default-user-modes` key
// this can be overridden in the `accounts` config, with the `default-user-modes` key
DefaultUserModes = modes.Modes{}
)