summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-10-13 15:06:06 +0200
committermathieui <mathieui@mathieui.net>2012-10-13 15:06:06 +0200
commit61bf29db8ef7741cf1f42ab0a8b65b098864742c (patch)
tree47e15d92584cea2226b39ecae3b7a72f23119313 /src
parentc9be8cbe7af965782a6fbe7aca0dbf2ce13e1faf (diff)
downloadpoezio-61bf29db8ef7741cf1f42ab0a8b65b098864742c.tar.gz
poezio-61bf29db8ef7741cf1f42ab0a8b65b098864742c.tar.bz2
poezio-61bf29db8ef7741cf1f42ab0a8b65b098864742c.tar.xz
poezio-61bf29db8ef7741cf1f42ab0a8b65b098864742c.zip
Fixes #2380 (traceback on /invite)
Diffstat (limited to 'src')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index fd212f88..29ba477a 100644
--- a/src/core.py
+++ b/src/core.py
@@ -2095,7 +2095,7 @@ class Core(object):
reason = args[2] if len(args) > 2 else ''
to = safeJID(args[0])
room = safeJID(args[1])
- self.xmpp.plugin['xep_0045'].invite(room, to, reason)
+ self.xmpp.plugin['xep_0045'].invite(room, str(to), reason)
def completion_invite(self, the_input):
"""Completion for /invite"""