diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-03-30 14:17:13 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-03-30 14:17:13 +0300 |
commit | 7bcbea210800e67045a9a58448a2e695d073246b (patch) | |
tree | 338585281c0893ddb776313cc240ecc2d3853cef /src/mod_irc_sql.erl | |
parent | Merge pull request #1646 from weiss/custom-headers (diff) |
Deprecate jlib.erl in favor of aux.erl
Since the main goal of jlib.erl is lost, all auxiliary functions
are now moved to aux.erl, and the whole jlib.erl is now deprecated.
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 42c075bf..519265d9 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 = jlib:term_to_expr(Data), + SData = aux: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 = jlib:term_to_expr(Data), + SData = aux: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)" |