summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-07-26 11:53:07 -0700
committerLance Stout <lancestout@gmail.com>2012-07-26 11:53:07 -0700
commit3bff743d9f564b2cdcc81ace31f2dac7ec829896 (patch)
tree658c21fe4d81fc8f3548bc8b5581162625f69183 /sleekxmpp
parent5a878f829b6a54c8269ebf4205fe6427e171e6f6 (diff)
downloadslixmpp-3bff743d9f564b2cdcc81ace31f2dac7ec829896.tar.gz
slixmpp-3bff743d9f564b2cdcc81ace31f2dac7ec829896.tar.bz2
slixmpp-3bff743d9f564b2cdcc81ace31f2dac7ec829896.tar.xz
slixmpp-3bff743d9f564b2cdcc81ace31f2dac7ec829896.zip
Fix logging statement for MUC invitations.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/plugins/xep_0045.py2
1 files changed, 1 insertions, 1 deletions
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)