diff --git a/sleekxmpp/plugins/xep_0050.py b/sleekxmpp/plugins/xep_0050.py index a030470..8c7e10d 100644 --- a/sleekxmpp/plugins/xep_0050.py +++ b/sleekxmpp/plugins/xep_0050.py @@ -82,7 +82,7 @@ class xep_0050(base.base_plugin): pointer = self.sessions[sessionid]['next'] results = self.xmpp['xep_0004'].makeForm('result') results.fromXML(in_command.find('{jabber:x:data}x')) - pointer(results,sessioni) + pointer(results,sessionid) self.xmpp.send(self.makeCommand(xml.attrib['from'], in_command.attrib['node'], form=None, id=xml.attrib['id'], sessionid=sessionid, status='completed', actions=[])) del self.sessions[in_command.get('sessionid')]