diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2017-04-11 12:13:58 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2017-04-11 12:13:58 +0200 |
commit | b1acd1183f1ce176a4703528d7d25b9dd3ee89f4 (patch) | |
tree | 9339705c26123538d94ad1fc62011b02517e6e98 /src/mod_irc_sql.erl | |
parent | Use p1_utils 1.0.8 (diff) |
Rename aux.erl as misc.erl
Thanks Microsoft Windows to not support some filenames
Diffstat (limited to 'src/mod_irc_sql.erl')
-rw-r--r-- | src/mod_irc_sql.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_irc_sql.erl b/src/mod_irc_sql.erl index 519265d9..f9a7d716 100644 --- a/src/mod_irc_sql.erl +++ b/src/mod_irc_sql.erl @@ -55,7 +55,7 @@ get_data(LServer, Host, From) -> set_data(LServer, Host, From, Data) -> SJID = jid:encode(jid:tolower(jid:remove_resource(From))), - SData = aux:term_to_expr(Data), + SData = misc:term_to_expr(Data), F = fun () -> ?SQL_UPSERT_T( "irc_custom", @@ -73,7 +73,7 @@ export(_Server) -> case str:suffix(Host, IRCHost) of true -> SJID = jid:encode(jid:make(U, S)), - SData = aux:term_to_expr(Data), + SData = misc:term_to_expr(Data), [?SQL("delete from irc_custom" " where jid=%(SJID)s and host=%(IRCHost)s;"), ?SQL("insert into irc_custom(jid, host, data)" |