Set JCLComponent.ask_password public
darcs-hash:20070222173443-86b55-a9998d61d4b4c6ea901cf84fa97f2bf0f5e5fa4c.gz
This commit is contained in:
@@ -703,9 +703,9 @@ class JCLComponent(Component, object):
|
|||||||
and _account.store_password == False \
|
and _account.store_password == False \
|
||||||
and old_status == account.OFFLINE \
|
and old_status == account.OFFLINE \
|
||||||
and _account.password == None :
|
and _account.password == None :
|
||||||
self._ask_password(_account, lang_class)
|
self.ask_password(_account, lang_class)
|
||||||
|
|
||||||
def _ask_password(self, _account, lang_class):
|
def ask_password(self, _account, lang_class):
|
||||||
"""Send a Jabber message to ask for account password
|
"""Send a Jabber message to ask for account password
|
||||||
"""
|
"""
|
||||||
if hasattr(_account, 'waiting_password_reply') \
|
if hasattr(_account, 'waiting_password_reply') \
|
||||||
|
|||||||
Reference in New Issue
Block a user