summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance stout <lancestout@gmail.com>2010-05-28 22:45:48 +0800
committerNathan Fritz <fritzy@netflint.net>2010-05-31 05:30:49 +0800
commit4f864a07f5629b685b4c21c350916ffd4fba68bf (patch)
treef6361795ff2f6e9a91e2c6adedff59e0d0161d42
parent938066bd504ea9b1c47c1ead757fac42e1ef5726 (diff)
downloadslixmpp-4f864a07f5629b685b4c21c350916ffd4fba68bf.tar.gz
slixmpp-4f864a07f5629b685b4c21c350916ffd4fba68bf.tar.bz2
slixmpp-4f864a07f5629b685b4c21c350916ffd4fba68bf.tar.xz
slixmpp-4f864a07f5629b685b4c21c350916ffd4fba68bf.zip
Touched up the style of creating an Iq stanza.
-rw-r--r--sleekxmpp/plugins/xep_0030.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0030.py b/sleekxmpp/plugins/xep_0030.py
index 4370e588..6a31d243 100644
--- a/sleekxmpp/plugins/xep_0030.py
+++ b/sleekxmpp/plugins/xep_0030.py
@@ -291,7 +291,7 @@ class xep_0030(base.base_plugin):
# Older interface methods for backwards compatibility
def getInfo(self, jid, node=''):
- iq = Iq(self.xmpp)
+ iq = self.xmpp.Iq()
iq['type'] = 'get'
iq['to'] = jid
iq['from'] = self.xmpp.fulljid
@@ -299,7 +299,7 @@ class xep_0030(base.base_plugin):
iq.send()
def getItems(self, jid, node=''):
- iq = Iq(self.xmpp)
+ iq = self.xmpp.Iq()
iq['type'] = 'get'
iq['to'] = jid
iq['from'] = self.xmpp.fulljid