mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
parent
803c31f760
commit
4ecd8a0780
@ -133,7 +133,7 @@ set_data(LUser, LServer, Data) ->
|
|||||||
Mod = gen_mod:db_mod(LServer, ?MODULE),
|
Mod = gen_mod:db_mod(LServer, ?MODULE),
|
||||||
case Mod:set_data(LUser, LServer, Data) of
|
case Mod:set_data(LUser, LServer, Data) of
|
||||||
ok ->
|
ok ->
|
||||||
delete_cache(Mod, LServer, LServer, Data);
|
delete_cache(Mod, LUser, LServer, Data);
|
||||||
{error, _} = Err ->
|
{error, _} = Err ->
|
||||||
Err
|
Err
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user