affect variable before using it. Fixes #4264

This commit is contained in:
Yann Leboulanger 2008-08-31 12:09:13 +00:00
parent 643e47175a
commit 0ce5c0678e
1 changed files with 1 additions and 0 deletions

View File

@ -1516,6 +1516,7 @@ class ChatControl(ChatControlBase):
# Disable encryption
ec.remove(self.contact.jid)
self.gpg_is_active = False
loggable = False
msg = _('GPG encryption disabled')
ChatControlBase.print_conversation_line(self, msg,
'status', '', None)