From 3bff743d9f564b2cdcc81ace31f2dac7ec829896 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 26 Jul 2012 11:53:07 -0700 Subject: Fix logging statement for MUC invitations. --- sleekxmpp/plugins/xep_0045.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/plugins') diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py index 7fbb3d43..7cd25b2a 100644 --- a/sleekxmpp/plugins/xep_0045.py +++ b/sleekxmpp/plugins/xep_0045.py @@ -137,7 +137,7 @@ class XEP_0045(BasePlugin): def handle_groupchat_invite(self, inv): """ Handle an invite into a muc. """ - logging.debug("MUC invite to %s from %s: %s", inv['from'], inv["from"], inv) + logging.debug("MUC invite to %s from %s: %s", inv['to'], inv["from"], inv) if inv['from'] not in self.rooms.keys(): self.xmpp.event("groupchat_invite", inv) -- cgit v1.2.3