25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

* src/ejabberd_sm.erl: Bugfix

SVN Revision: 298
This commit is contained in:
Alexey Shchepin 2005-03-15 21:36:41 +00:00
parent 301cc280aa
commit 33f408170c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-03-15 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_sm.erl: Bugfix
2005-03-12 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_router.erl: Bugfix

View File

@ -145,7 +145,8 @@ clean_table_from_bad_node(Node) ->
[{'==', {node, '$1'}, Node}],
['$_']}]),
lists:foreach(fun(E) ->
mnesia:delete_object(E)
mnesia:delete_object(E),
mnesia:delete({presence, E#session.ur})
end, Es)
end,
mnesia:transaction(F).