diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2019-08-01 22:36:18 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2019-08-01 22:36:59 +0200 |
commit | f35569a2c11d988c0d7200eec94ea2eb9c527acb (patch) | |
tree | b3a5e4b6b10830002356d2d9590c48729325508d /slixmpp/plugins/xep_0279 | |
parent | bec6f7c8f330145fb472ad917f3cb1e78697f2e0 (diff) | |
download | slixmpp-f35569a2c11d988c0d7200eec94ea2eb9c527acb.tar.gz slixmpp-f35569a2c11d988c0d7200eec94ea2eb9c527acb.tar.bz2 slixmpp-f35569a2c11d988c0d7200eec94ea2eb9c527acb.tar.xz slixmpp-f35569a2c11d988c0d7200eec94ea2eb9c527acb.zip |
Remove the last instances of a block argument to iq.send().
Thanks Madhur Garg for spotting this in
027ce2434d7fd3cf4a286dd373cb761c0d114c66!
Diffstat (limited to 'slixmpp/plugins/xep_0279')
-rw-r--r-- | slixmpp/plugins/xep_0279/ipcheck.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0279/ipcheck.py b/slixmpp/plugins/xep_0279/ipcheck.py index 56d9afd4..8954c3d9 100644 --- a/slixmpp/plugins/xep_0279/ipcheck.py +++ b/slixmpp/plugins/xep_0279/ipcheck.py @@ -31,11 +31,11 @@ class XEP_0279(BasePlugin): def plugin_end(self): self.xmpp['xep_0030'].del_feature(feature='urn:xmpp:sic:0') - def check_ip(self, ifrom=None, block=True, timeout=None, callback=None, + def check_ip(self, ifrom=None, timeout=None, callback=None, timeout_callback=None): iq = self.xmpp.Iq() iq['type'] = 'get' iq['from'] = ifrom iq.enable('ip_check') - return iq.send(block=block, timeout=timeout, callback=callback, + return iq.send(timeout=timeout, callback=callback, timeout_callback=timeout_callback) |