Software / code / prosody
Changeset
1333:d74441a2f3e8
Merge
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Fri, 12 Jun 2009 13:46:31 +0500 |
| parents | 1332:f7fed9f77455 (diff) 1330:baad431dabc5 (current diff) |
| children | 1334:6846c5cc9ce2 |
| files | |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pep.lua Mon Jun 08 13:25:10 2009 +0100 +++ b/plugins/mod_pep.lua Fri Jun 12 13:46:31 2009 +0500 @@ -51,7 +51,7 @@ if t == "unavailable" or t == "error" then if recipients[user] then recipients[user][recipient] = nil; end elseif not t then - recipients[user] = recipients[user][recipient] or {}; + recipients[user] = recipients[user] or {}; if not recipients[user][recipient] then recipients[user][recipient] = true; for node, message in pairs(data[user] or {}) do