summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Hook.py2
-rw-r--r--module/plugins/hooks/CaptchaTrader.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index 56541f7fe..4af6a0ed4 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -100,5 +100,5 @@ class Hook():
def captchaCorrect(self, task):
pass
- def captchaWrong(self, task):
+ def captchaInvalid(self, task):
pass \ No newline at end of file
diff --git a/module/plugins/hooks/CaptchaTrader.py b/module/plugins/hooks/CaptchaTrader.py
index de5831731..985288090 100644
--- a/module/plugins/hooks/CaptchaTrader.py
+++ b/module/plugins/hooks/CaptchaTrader.py
@@ -45,7 +45,7 @@ class CaptchaTraderException(Exception):
class CaptchaTrader(Hook):
__name__ = "CaptchaTrader"
- __version__ = "0.1"
+ __version__ = "0.11"
__description__ = """send captchas to captchatrader.com"""
__config__ = [("activated", "bool", "Activated", True),
("username", "str", "Username", ""),
@@ -120,7 +120,7 @@ class CaptchaTrader(Hook):
ticket = task.data["ticket"]
self.respond(ticket, True)
- def captchaWrong(self, task):
+ def captchaInvalid(self, task):
if task.data.has_key("ticket"):
ticket = task.data["ticket"]
self.respond(ticket, False)