From 61bf29db8ef7741cf1f42ab0a8b65b098864742c Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 13 Oct 2012 15:06:06 +0200 Subject: Fixes #2380 (traceback on /invite) --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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""" -- cgit v1.2.3