From 30200c83eaca0518c910ca62fed48dbcfc95519d Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 19 Dec 2017 16:12:08 +0100 Subject: disco plugin: Fix traceback on unknown FORM_TYPE. --- plugins/disco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/disco.py b/plugins/disco.py index 9a828d1d..53da67a8 100644 --- a/plugins/disco.py +++ b/plugins/disco.py @@ -35,7 +35,7 @@ class Plugin(BasePlugin): if field['type'] == 'hidden' and field['var'] == 'FORM_TYPE': value = field['value'] if 'http://jabber.org/network/serverinfo' not in value: - self.api.error('Unknown form type ā€œ%sā€' % value, 'Form') + self.api.information('Unknown form type ā€œ%sā€' % value, 'Error') return break server_info = [] -- cgit v1.2.3