aboutsummaryrefslogtreecommitdiff
path: root/src/mod_last_odbc.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_last_odbc.erl')
-rw-r--r--src/mod_last_odbc.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_last_odbc.erl b/src/mod_last_odbc.erl
index 7616c5020..b22da5ffd 100644
--- a/src/mod_last_odbc.erl
+++ b/src/mod_last_odbc.erl
@@ -117,9 +117,9 @@ process_sm_iq(From, To, #iq{type = Type, sub_el = SubEl} = IQ) ->
privacy_check_packet, Server,
allow,
[User, Server, UserListRecord,
- {From, To,
+ {To, From,
{xmlelement, "presence", [], []}},
- in]) of
+ out]) of
allow ->
get_last(IQ, SubEl, User, Server);
deny ->