fix siteflags

This commit is contained in:
velzie 2024-10-13 15:05:55 -04:00
parent fd420cfda7
commit 8fc98e66c8
No known key found for this signature in database
GPG key ID: AA51AEFB0A1F3820
5 changed files with 36 additions and 12 deletions

View file

@ -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);
}