diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-22 23:14:43 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-22 23:14:43 +0100 |
commit | 6d1fa0e753073a00d9075227a6474f855157fc5d (patch) | |
tree | 17d56ea921443174393954d237e7563779f0f3e7 /module/plugins/hooks/XMPPInterface.py | |
parent | filesonic info prefetching + premium fix (diff) | |
download | pyload-6d1fa0e753073a00d9075227a6474f855157fc5d.tar.xz |
captcha input via IRC, XMPP
Diffstat (limited to 'module/plugins/hooks/XMPPInterface.py')
-rw-r--r-- | module/plugins/hooks/XMPPInterface.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/hooks/XMPPInterface.py b/module/plugins/hooks/XMPPInterface.py index a05d956d5..dc6928127 100644 --- a/module/plugins/hooks/XMPPInterface.py +++ b/module/plugins/hooks/XMPPInterface.py @@ -34,7 +34,8 @@ class XMPPInterface(IRCInterface, JabberClient): ("pw", "str", "Password", ""), ("owners", "str", "List of JIDs accepting commands from", "me@icq-gateway.org;some@msn-gateway.org"), ("info_file", "bool", "Inform about every file finished", "False"), - ("info_pack", "bool", "Inform about every package finished", "True")] + ("info_pack", "bool", "Inform about every package finished", "True"), + ("captcha", "bool", "Send captcha requests", "True")] __author_name__ = ("RaNaN") __author_mail__ = ("RaNaN@pyload.org") @@ -172,7 +173,9 @@ class XMPPInterface(IRCInterface, JabberClient): else: return True - + + def response(self, msg, origin=""): + return self.announce(msg) def announce(self, message): """ send message to all owners""" |