summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0030/disco.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-02-18 11:56:10 -0800
committerLance Stout <lancestout@gmail.com>2012-02-18 11:56:10 -0800
commit977fcc06324d93422cb19e1550b280cd04e36f82 (patch)
treef6bbe985ba54ed4c0bc880cfb65eb66cc8412581 /sleekxmpp/plugins/xep_0030/disco.py
parent94b57d232d0fd1198835a93a013e1f9ff715d5eb (diff)
downloadslixmpp-977fcc06324d93422cb19e1550b280cd04e36f82.tar.gz
slixmpp-977fcc06324d93422cb19e1550b280cd04e36f82.tar.bz2
slixmpp-977fcc06324d93422cb19e1550b280cd04e36f82.tar.xz
slixmpp-977fcc06324d93422cb19e1550b280cd04e36f82.zip
Fix instances of using undefined variables.
Diffstat (limited to 'sleekxmpp/plugins/xep_0030/disco.py')
-rw-r--r--sleekxmpp/plugins/xep_0030/disco.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0030/disco.py b/sleekxmpp/plugins/xep_0030/disco.py
index 2267401e..a6088635 100644
--- a/sleekxmpp/plugins/xep_0030/disco.py
+++ b/sleekxmpp/plugins/xep_0030/disco.py
@@ -754,7 +754,7 @@ class xep_0030(base_plugin):
"""
result = info
if isinstance(info, Iq):
- info = iq['disco_info']
+ info = info['disco_info']
if not info['node']:
if not info['identities']:
if self.xmpp.is_component: