summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-21 04:54:01 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-21 04:54:01 +0100
commitd8f92a67e417de54fe2ca9e2dd5b19139e193242 (patch)
tree0a7477241feda2994687f9f209c0bece35cee8bb /src/tabs.py
parent1b995e4bf04b8eb8d5a40039596a7b7a8277fb03 (diff)
downloadpoezio-d8f92a67e417de54fe2ca9e2dd5b19139e193242.tar.gz
poezio-d8f92a67e417de54fe2ca9e2dd5b19139e193242.tar.bz2
poezio-d8f92a67e417de54fe2ca9e2dd5b19139e193242.tar.xz
poezio-d8f92a67e417de54fe2ca9e2dd5b19139e193242.zip
Avoid traceback when configuration is forbidden…
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 023c9cf3..734efb74 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -396,6 +396,8 @@ class MucTab(ChatTab):
def command_configure(self, arg):
form = self.core.xmpp.plugin['xep_0045'].getRoomForm(self.get_name())
self.core.information('%s' % form)
+ if not form:
+ return
self.core.open_new_form(form, self.cancel_config, self.send_config)
def cancel_config(self, form):