mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 23:50:02 -04:00
fix siteflags
This commit is contained in:
parent
fd420cfda7
commit
8fc98e66c8
5 changed files with 36 additions and 12 deletions
|
@ -192,7 +192,7 @@ export class ScramjetClient {
|
|||
});
|
||||
|
||||
for (const module of modules) {
|
||||
if (!module.enabled || module.enabled())
|
||||
if (!module.enabled || module.enabled(this))
|
||||
module.default(this, this.global);
|
||||
else if (module.disabled) module.disabled(this, this.global);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue