diff options
Diffstat (limited to 'sleekxmpp/plugins/xep_0004.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0004.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0004.py b/sleekxmpp/plugins/xep_0004.py index abd5ceef..ec859252 100644 --- a/sleekxmpp/plugins/xep_0004.py +++ b/sleekxmpp/plugins/xep_0004.py @@ -48,7 +48,7 @@ class xep_0004(base.base_plugin): return object def buildForm(self, xml): - form = Form(xml.attrib['type']) + form = Form(ftype=xml.attrib['type']) form.fromXML(xml) return form |