mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-21 23:22:34 +01:00
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.
@@ -76,7 +76,7 @@ These control the Raviente large-scale raid. Some subcommands require the ZZ cli
|
||||
|
||||
| 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user