24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-07-14 23:44:18 +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,10 +150,10 @@ register_iq_response_handler(_Host, ID, Module, Function, Timeout0) ->
N
end,
TRef = erlang:start_timer(Timeout, ejabberd_local, ID),
mnesia:dirty_write(#iq_response{id = ID,
module = Module,
function = Function,
timer = TRef}).
ets:insert(iq_response, #iq_response{id = ID,
module = Module,
function = Function,
timer = TRef}).
register_iq_handler(Host, XMLNS, Module, Fun) ->
ejabberd_local ! {register_iq_handler, Host, XMLNS, Module, Fun}.