summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/otr.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/otr.py b/plugins/otr.py
index 8b8dbb04..16d2f3ed 100644
--- a/plugins/otr.py
+++ b/plugins/otr.py
@@ -882,6 +882,7 @@ class Plugin(BasePlugin):
else:
was_locked = False
def notify_otr_timeout():
+ nonlocal name
otr = self.get_context(name)
if isinstance(tab, DynamicConversationTab) and not was_locked:
if tab.locked_resource: