2007-12-06 Badlop <badlop@process-one.net>
+ * src/mod_muc/mod_muc.erl: Catch creation of table
+ muc_online_users: it may be already created by other mod_muc
+ instance
+
* doc/Makefile: Remove bashism
* doc/guide.tex: Document how to change computer
[{ram_copies, [node()]},
{attributes, record_info(fields, muc_online_room)}]),
mnesia:add_table_copy(muc_online_room, node(), ram_copies),
- ets:new(muc_online_users, [bag,
- named_table,
- public,
- {keypos, 2}]),
+ catch ets:new(muc_online_users, [bag, named_table, public, {keypos, 2}]),
MyHost = gen_mod:get_opt_host(Host, Opts, "conference.@HOST@"),
update_tables(MyHost),
clean_table_from_bad_node(node(), MyHost),