Fix typo in previous commit

This commit is contained in:
Badlop 2018-01-23 20:30:58 +01:00
parent aa6519209e
commit 74e068d91c
1 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ user_send_packet({NewEl, C2SState}) ->
%% Only required for traffic stats
user_send_packet_traffic({NewEl, _C2SState} = Acc) ->
From = xmpp:get_from(NewEl),
To = xmpp:get_from(NewEl),
To = xmpp:get_to(NewEl),
Host = From#jid.lserver,
HostTo = To#jid.lserver,
Type2 = case NewEl of
@ -262,7 +262,7 @@ user_send_packet_traffic({NewEl, _C2SState} = Acc) ->
%% Only required for traffic stats
user_receive_packet_traffic({NewEl, _C2SState} = Acc) ->
From = xmpp:get_from(NewEl),
To = xmpp:get_from(NewEl),
To = xmpp:get_to(NewEl),
HostFrom = From#jid.lserver,
Host = To#jid.lserver,
Type2 = case NewEl of