25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-19 15:32:08 +02:00

Fix previous merge

This commit is contained in:
Evgeniy Khramtsov 2011-04-07 15:59:20 +10:00
parent 49365da481
commit a97a60a888

View File

@ -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}).