diff options
Diffstat (limited to 'plugins/upload.py')
-rw-r--r-- | plugins/upload.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/upload.py b/plugins/upload.py index 98379c33..bfdbe47b 100644 --- a/plugins/upload.py +++ b/plugins/upload.py @@ -28,6 +28,8 @@ from poezio import tabs class Plugin(BasePlugin): def init(self): + if not self.core.xmpp['xep_0363']: + raise Exception('slixmpp XEP-0363 plugin failed to load') for _class in (tabs.PrivateTab, tabs.ConversationTab, tabs.MucTab): self.api.add_tab_command(_class, 'upload', self.command_upload, usage='<filename>', |