Fix typos in previous commit (#218)
This commit is contained in:
parent
ce89412feb
commit
2a95a53285
|
@ -171,11 +171,11 @@ send_packet({P, State}) ->
|
||||||
Proc ! {addlog, {send, FromJID, ToJID, P}},
|
Proc ! {addlog, {send, FromJID, ToJID, P}},
|
||||||
{P, State}.
|
{P, State}.
|
||||||
|
|
||||||
receive_packet(P, State}) ->
|
receive_packet({P, State}) ->
|
||||||
{FromJID, ToJID} = get_from_to(P),
|
{FromJID, ToJID} = get_from_to(P),
|
||||||
Host = To#jid.lserver,
|
Host = ToJID#jid.lserver,
|
||||||
Proc = gen_mod:get_module_proc(Host, ?PROCNAME),
|
Proc = gen_mod:get_module_proc(Host, ?PROCNAME),
|
||||||
Proc ! {addlog, {recv, From, To, P}},
|
Proc ! {addlog, {recv, FromJID, ToJID, P}},
|
||||||
{P, State}.
|
{P, State}.
|
||||||
|
|
||||||
get_from_to(Packet) ->
|
get_from_to(Packet) ->
|
||||||
|
|
Loading…
Reference in New Issue