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:
parent
38205691f4
commit
d08b1c62bb
@ -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
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user