From 6cb60aaff58ae011be7e4c194fd9b390ef331680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Wei=C3=9F?= Date: Tue, 3 May 2016 19:12:57 +0200 Subject: Cosmetic change: Make variable names consistent Use the same variable names in both mod_mam:select/8 clauses to avoid confusion. --- src/mod_mam.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mod_mam.erl b/src/mod_mam.erl index 317fddfc5..12b80c45c 100644 --- a/src/mod_mam.erl +++ b/src/mod_mam.erl @@ -812,9 +812,10 @@ select(_LServer, JidRequestor, JidArchive, Start, End, _With, RSM, _ -> {Msgs, true, L} end; -select(LServer, From, To, Start, End, With, RSM, MsgType) -> +select(LServer, JidRequestor, JidArchive, Start, End, With, RSM, MsgType) -> Mod = gen_mod:db_mod(LServer, ?MODULE), - Mod:select(LServer, From, To, Start, End, With, RSM, MsgType). + Mod:select(LServer, JidRequestor, JidArchive, Start, End, With, RSM, + MsgType). msg_to_el(#archive_msg{timestamp = TS, packet = Pkt1, nick = Nick, peer = Peer}, MsgType, JidRequestor, #jid{lserver = LServer} = JidArchive) -> -- cgit v1.2.3