Fix typo in previous commit
This commit is contained in:
parent
aa6519209e
commit
74e068d91c
|
@ -243,7 +243,7 @@ user_send_packet({NewEl, C2SState}) ->
|
||||||
%% Only required for traffic stats
|
%% Only required for traffic stats
|
||||||
user_send_packet_traffic({NewEl, _C2SState} = Acc) ->
|
user_send_packet_traffic({NewEl, _C2SState} = Acc) ->
|
||||||
From = xmpp:get_from(NewEl),
|
From = xmpp:get_from(NewEl),
|
||||||
To = xmpp:get_from(NewEl),
|
To = xmpp:get_to(NewEl),
|
||||||
Host = From#jid.lserver,
|
Host = From#jid.lserver,
|
||||||
HostTo = To#jid.lserver,
|
HostTo = To#jid.lserver,
|
||||||
Type2 = case NewEl of
|
Type2 = case NewEl of
|
||||||
|
@ -262,7 +262,7 @@ user_send_packet_traffic({NewEl, _C2SState} = Acc) ->
|
||||||
%% Only required for traffic stats
|
%% Only required for traffic stats
|
||||||
user_receive_packet_traffic({NewEl, _C2SState} = Acc) ->
|
user_receive_packet_traffic({NewEl, _C2SState} = Acc) ->
|
||||||
From = xmpp:get_from(NewEl),
|
From = xmpp:get_from(NewEl),
|
||||||
To = xmpp:get_from(NewEl),
|
To = xmpp:get_to(NewEl),
|
||||||
HostFrom = From#jid.lserver,
|
HostFrom = From#jid.lserver,
|
||||||
Host = To#jid.lserver,
|
Host = To#jid.lserver,
|
||||||
Type2 = case NewEl of
|
Type2 = case NewEl of
|
||||||
|
|
Loading…
Reference in New Issue