From b1acd1183f1ce176a4703528d7d25b9dd3ee89f4 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Tue, 11 Apr 2017 12:13:58 +0200 Subject: Rename aux.erl as misc.erl Thanks Microsoft Windows to not support some filenames --- src/mod_mam.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mod_mam.erl') diff --git a/src/mod_mam.erl b/src/mod_mam.erl index 1a3fcacc..77831ebc 100644 --- a/src/mod_mam.erl +++ b/src/mod_mam.erl @@ -436,7 +436,7 @@ delete_old_messages(TypeBin, Days) when TypeBin == <<"chat">>; TypeBin == <<"all">> -> Diff = Days * 24 * 60 * 60 * 1000000, TimeStamp = usec_to_now(p1_time_compat:system_time(micro_seconds) - Diff), - Type = aux:binary_to_atom(TypeBin), + Type = misc:binary_to_atom(TypeBin), DBTypes = lists:usort( lists:map( fun(Host) -> -- cgit v1.2.3