Fix course command mitigation: reference Courses array, not DefaultCourses

The !course command checks the Courses config array (not DefaultCourses)
to determine which courses players can toggle. DefaultCourses sets
always-on courses by ID; Courses controls per-course toggleability.
houmgaor
2026-02-18 13:52:19 +01:00
parent 8d5c165366
commit fca9aee26c

@@ -76,7 +76,7 @@ These control the Raviente large-scale raid. Some subcommands require the ZZ cli
| Command | Risk | Mitigation | | Command | Risk | Mitigation |
|---------|------|------------| |---------|------|------------|
| `course` | Players toggle courses without payment | Limit which courses are available via `DefaultCourses` in [config](Erupe-Configuration#courses-subscription-types) | | `course` | Players toggle courses without payment | Limit which courses are available via `Courses` in [config](Erupe-Configuration#courses-subscription-types) (set `Enabled: false` to lock) |
### Safe ### Safe