25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

* src/ejabberd_router.erl: Fix call to mnesia match_object

SVN Revision: 1533
This commit is contained in:
Badlop 2008-08-22 11:35:32 +00:00
parent 38205691f4
commit d08b1c62bb
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2008-08-22 Badlop <badlop@process-one.net>
* src/ejabberd_router.erl: Fix call to mnesia match_object
2008-08-21 Badlop <badlop@process-one.net>
* doc/guide.tex: Fix names of chatroom to room, user to occupant

View File

@ -150,9 +150,9 @@ unregister_route(Domain) ->
mnesia:transaction(F);
_ ->
F = fun() ->
case mnesia:match(#route{domain = LDomain,
pid = Pid,
_ = '_'}) of
case mnesia:match_object(#route{domain=LDomain,
pid = Pid,
_ = '_'}) of
[R] ->
I = R#route.local_hint,
mnesia:write(