# HG changeset patch # User Waqas Hussain # Date 1311542500 -18000 # Node ID 90d0e90c5b0eb32058acfd673c4f2226005e7c05 # Parent d54dbbfda3bb4f473c00c22ee9fc2f65cd25c7ce mod_muc_log_http: Fixed a typo. diff -r d54dbbfda3bb -r 90d0e90c5b0e mod_muc_log_http/muc_log_http/mod_muc_log_http.lua --- a/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua Mon Jul 25 02:21:40 2011 +0500 +++ b/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua Mon Jul 25 02:21:40 2011 +0500 @@ -653,7 +653,7 @@ assert(muc_hosts and html.doc, "MUC hosts or theme not loaded"); if host and not(hosts[host] and hosts[host].modules.muc) then return { status = "404 Not found", body = "No such MUC component" }; end - if host and node and not(muc_hosts[host].modules.muc.rooms[node.."@"..host]) then return { status = "404 Not found", body = "No such MUC room" }; end + if host and node and not(hosts[host].modules.muc.rooms[node.."@"..host]) then return { status = "404 Not found", body = "No such MUC room" }; end if not host then -- main component list return createDoc(generateComponentListSiteContent());