mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 14:29:26 +08:00
Upd: Limit mail collect in CN and EN
This commit is contained in:
@@ -21,7 +21,10 @@ class Freebies(ModuleBase):
|
||||
|
||||
if self.config.Mail_Collect:
|
||||
logger.hr('Mail', level=1)
|
||||
Mail(self.config, self.device).run()
|
||||
if self.config.SERVER in ['cn', 'en']:
|
||||
Mail(self.config, self.device).run()
|
||||
else:
|
||||
logger.info(f'Mail collect is not supported in {self.config.SERVER}, please contact server maintainers')
|
||||
|
||||
if self.config.SupplyPack_Collect:
|
||||
logger.hr('Supply pack', level=1)
|
||||
|
||||
Reference in New Issue
Block a user