diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2016-11-30 11:09:17 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2016-11-30 11:09:17 +0100 |
commit | 92db9ff10546e4a033621fbfd7d66d2aa3bf55e8 (patch) | |
tree | 1f80319bd731156151baa942d471edf02a69008f /src/ejabberd_auth_anonymous.erl | |
parent | Cleanup admin_extra, add few functions (diff) |
Improve handling of mnesia schema
Diffstat (limited to 'src/ejabberd_auth_anonymous.erl')
-rw-r--r-- | src/ejabberd_auth_anonymous.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_auth_anonymous.erl b/src/ejabberd_auth_anonymous.erl index c84321ad9..e0c4d471f 100644 --- a/src/ejabberd_auth_anonymous.erl +++ b/src/ejabberd_auth_anonymous.erl @@ -59,7 +59,7 @@ start(Host) -> %% TODO: Check cluster mode - mnesia:create_table(anonymous, [{ram_copies, [node()]}, + ejabberd_mnesia:create(?MODULE, anonymous, [{ram_copies, [node()]}, {type, bag}, {attributes, record_info(fields, anonymous)}]), %% The hooks are needed to add / remove users from the anonymous tables |