diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-03-26 13:59:29 -0700 |
---|---|---|
committer | Nathan Fritz <nathan@andyet.net> | 2010-03-26 13:59:29 -0700 |
commit | ec97c351deb6dd498cb0ae2cb5794ecb84f2bcb0 (patch) | |
tree | d1a7377feef8b215bd41b66bd95859f118da9748 /sleekxmpp/plugins | |
parent | 0fc9072e5d0ebd90339e2a809ead8ec8b15f6d7e (diff) | |
download | slixmpp-ec97c351deb6dd498cb0ae2cb5794ecb84f2bcb0.tar.gz slixmpp-ec97c351deb6dd498cb0ae2cb5794ecb84f2bcb0.tar.bz2 slixmpp-ec97c351deb6dd498cb0ae2cb5794ecb84f2bcb0.tar.xz slixmpp-ec97c351deb6dd498cb0ae2cb5794ecb84f2bcb0.zip |
fixed bug #7 -- muc roster leak
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r-- | sleekxmpp/plugins/xep_0045.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py index d530a0ab..1e695233 100644 --- a/sleekxmpp/plugins/xep_0045.py +++ b/sleekxmpp/plugins/xep_0045.py @@ -136,7 +136,7 @@ class xep_0045(base.base_plugin): return entry = pr['muc'].getValues() if pr['type'] == 'unavailable': - self.rooms[entry['room']][entry['nick']] = None + del self.rooms[entry['room']][entry['nick']] else: self.rooms[entry['room']][entry['nick']] = entry logging.debug("MUC presence from %s/%s : %s" % (entry['room'],entry['nick'], entry)) |