Commit d8f92a67 authored by louiz’'s avatar louiz’

Avoid traceback when configuration is forbidden…

parent 1b995e4b
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment