Software /
code /
prosody-modules
Changeset
464:7e6524555ab0
mod_ircd: WiP trash removed.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Tue, 01 Nov 2011 14:39:06 +0000 |
parents | 463:7d6a05f94941 |
children | 467:266bf13729ae |
files | mod_ircd/mod_ircd.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_ircd/mod_ircd.lua Sun Oct 30 01:41:33 2011 +0200 +++ b/mod_ircd/mod_ircd.lua Tue Nov 01 14:39:06 2011 +0000 @@ -108,9 +108,9 @@ for _, room in pairs(session.rooms) do room:leave("Disconnected"); end - if jids[session.full_jid] then jids[session.full_jid] = nil end - if nicks[session.nick] then nicks[session.nick] = nil end - if sessions[conn] then sessions[conn] = nil end + jids[session.full_jid] = nil + nicks[session.nick] = nil + sessions[conn] = nil end function commands.NICK(session, nick)