mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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>
|
2008-08-21 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
* doc/guide.tex: Fix names of chatroom to room, user to occupant
|
* doc/guide.tex: Fix names of chatroom to room, user to occupant
|
||||||
|
@ -150,9 +150,9 @@ unregister_route(Domain) ->
|
|||||||
mnesia:transaction(F);
|
mnesia:transaction(F);
|
||||||
_ ->
|
_ ->
|
||||||
F = fun() ->
|
F = fun() ->
|
||||||
case mnesia:match(#route{domain = LDomain,
|
case mnesia:match_object(#route{domain=LDomain,
|
||||||
pid = Pid,
|
pid = Pid,
|
||||||
_ = '_'}) of
|
_ = '_'}) of
|
||||||
[R] ->
|
[R] ->
|
||||||
I = R#route.local_hint,
|
I = R#route.local_hint,
|
||||||
mnesia:write(
|
mnesia:write(
|
||||||
|
Loading…
Reference in New Issue
Block a user