diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/AccountManager.py | 2 | ||||
-rw-r--r-- | module/plugins/hooks/CaptchaTrader.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/AccountManager.py b/module/plugins/AccountManager.py index d0955ecee..bd0871705 100644 --- a/module/plugins/AccountManager.py +++ b/module/plugins/AccountManager.py @@ -21,6 +21,7 @@ from os.path import exists from shutil import copy from module.PullEvents import AccountUpdateEvent +from module.utils import chmod ACC_VERSION = 1 @@ -127,6 +128,7 @@ class AccountManager(): f.write("\t@%s %s\n" % (option, " ".join(values))) f.close() + chmod(f.name, 0600) #---------------------------------------------------------------------- diff --git a/module/plugins/hooks/CaptchaTrader.py b/module/plugins/hooks/CaptchaTrader.py index 77c30b7d7..f98b5fab0 100644 --- a/module/plugins/hooks/CaptchaTrader.py +++ b/module/plugins/hooks/CaptchaTrader.py @@ -123,7 +123,7 @@ class CaptchaTrader(Hook): def captchaWrong(self, task): if task.data.has_key("ticket"): ticket = task.data["ticket"] - self.respond(ticket, True) + self.respond(ticket, False) def processCaptcha(self, task): c = task.captchaFile |