diff options
author | Alexey Shchepin <alexey@process-one.net> | 2007-08-25 17:24:00 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2007-08-25 17:24:00 +0000 |
commit | 5dfa6edda35848f13252afa32eae1f1818b072e6 (patch) | |
tree | 0162c87a8ba7382af4e16a2965f55e798f69b709 /src/mod_muc | |
parent | Fixed conflict (diff) |
* src/gen_mod.erl: Substitute @HOST@ with hostname in the 'host'
option (thanks to Badlop)
* src/mod_vcard.erl: Likewise
* src/mod_vcard_ldap.erl: Likewise
* src/mod_vcard_odbc.erl: Likewise
* src/mod_muc/mod_muc.erl: Likewise
* src/mod_irc/mod_irc.erl: Likewise
* src/mod_echo.erl: Likewise
* src/mod_pubsub/mod_pubsub.erl: Likewise
* src/mod_proxy65/mod_proxy65_service.erl: Likewise
SVN Revision: 888
Diffstat (limited to 'src/mod_muc')
-rw-r--r-- | src/mod_muc/mod_muc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc/mod_muc.erl b/src/mod_muc/mod_muc.erl index d516cc1c..d0646cae 100644 --- a/src/mod_muc/mod_muc.erl +++ b/src/mod_muc/mod_muc.erl @@ -144,7 +144,7 @@ init([Host, Opts]) -> [{ram_copies, [node()]}, {attributes, record_info(fields, muc_online_room)}]), mnesia:add_table_copy(muc_online_room, node(), ram_copies), - MyHost = gen_mod:get_opt(host, Opts, "conference." ++ Host), + MyHost = gen_mod:get_opt_host(Host, Opts, "conference.@HOST@"), update_tables(MyHost), clean_table_from_bad_node(node(), MyHost), mnesia:add_table_index(muc_registered, nick), |