author | Waqas Hussain <waqas20@gmail.com> |
Fri, 24 Apr 2009 00:34:49 +0500 | |
changeset 1055 | a970f691e42d |
parent 1050 | 9552c08241af |
child 1056 | 09821f8ad319 |
--- a/plugins/mod_muc.lua Thu Apr 23 03:28:35 2009 +0100 +++ b/plugins/mod_muc.lua Fri Apr 24 00:34:49 2009 +0500 @@ -276,6 +276,7 @@ log("debug", "%s joining as %s", from, to); local data; if not rooms:get(room) and not rooms_info:get(room) then -- new room + rooms_info:set(room, 'name', (jid_split(room))); data = {affiliation='owner', role='moderator', jid=from, sessions={[from]=get_filtered_presence(stanza)}}; end if not data then -- new occupant