mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Fix previous merge
This commit is contained in:
parent
49365da481
commit
a97a60a888
@ -150,7 +150,7 @@ register_iq_response_handler(_Host, ID, Module, Function, Timeout0) ->
|
|||||||
N
|
N
|
||||||
end,
|
end,
|
||||||
TRef = erlang:start_timer(Timeout, ejabberd_local, ID),
|
TRef = erlang:start_timer(Timeout, ejabberd_local, ID),
|
||||||
mnesia:dirty_write(#iq_response{id = ID,
|
ets:insert(iq_response, #iq_response{id = ID,
|
||||||
module = Module,
|
module = Module,
|
||||||
function = Function,
|
function = Function,
|
||||||
timer = TRef}).
|
timer = TRef}).
|
||||||
|
Loading…
Reference in New Issue
Block a user