summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0191/blocking.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins/xep_0191/blocking.py')
-rw-r--r--sleekxmpp/plugins/xep_0191/blocking.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0191/blocking.py b/sleekxmpp/plugins/xep_0191/blocking.py
index 0d903acc..57632319 100644
--- a/sleekxmpp/plugins/xep_0191/blocking.py
+++ b/sleekxmpp/plugins/xep_0191/blocking.py
@@ -22,7 +22,7 @@ log = logging.getLogger(__name__)
class XEP_0191(BasePlugin):
name = 'xep_0191'
- description = 'XEP-0191: Simple Communications Blocking'
+ description = 'XEP-0191: Blocking Command'
dependencies = set(['xep_0030'])
stanza = stanza
@@ -48,7 +48,7 @@ class XEP_0191(BasePlugin):
def get_blocked(self, ifrom=None, block=True, timeout=None, callback=None):
iq = self.xmpp.Iq()
iq['type'] = 'get'
- iq['from'] = 'ifrom'
+ iq['from'] = ifrom
iq.enable('blocklist')
return iq.send(block=block, timeout=timeout, callback=callback)