Mercurial > prosody-hg
comparison core/sessionmanager.lua @ 2580:61f0acd9086f
sessionmanager: Whitespace fix
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 10 Feb 2010 07:53:25 +0000 |
| parents | 678ca4e9a479 |
| children | d540a75a11db |
comparison
equal
deleted
inserted
replaced
| 2579:4e0caff152d6 | 2580:61f0acd9086f |
|---|---|
| 73 if session.full_jid then | 73 if session.full_jid then |
| 74 hosts[session.host].events.fire_event("resource-unbind", {session=session, error=err}); | 74 hosts[session.host].events.fire_event("resource-unbind", {session=session, error=err}); |
| 75 | 75 |
| 76 hosts[session.host].sessions[session.username].sessions[session.resource] = nil; | 76 hosts[session.host].sessions[session.username].sessions[session.resource] = nil; |
| 77 full_sessions[session.full_jid] = nil; | 77 full_sessions[session.full_jid] = nil; |
| 78 | 78 |
| 79 if not next(hosts[session.host].sessions[session.username].sessions) then | 79 if not next(hosts[session.host].sessions[session.username].sessions) then |
| 80 log("debug", "All resources of %s are now offline", session.username); | 80 log("debug", "All resources of %s are now offline", session.username); |
| 81 hosts[session.host].sessions[session.username] = nil; | 81 hosts[session.host].sessions[session.username] = nil; |
| 82 bare_sessions[session.username..'@'..session.host] = nil; | 82 bare_sessions[session.username..'@'..session.host] = nil; |
| 83 end | 83 end |
