mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-27 15:02:14 +01:00
* src/ejabberd_router.erl: Bugfix
SVN Revision: 977
This commit is contained in:
parent
950060cd3c
commit
a487652fe9
@ -1,5 +1,7 @@
|
|||||||
2007-11-25 Alexey Shchepin <alexey@process-one.net>
|
2007-11-25 Alexey Shchepin <alexey@process-one.net>
|
||||||
|
|
||||||
|
* src/ejabberd_router.erl: Bugfix
|
||||||
|
|
||||||
* src/ejabberd_s2s_out.erl: Bugfix
|
* src/ejabberd_s2s_out.erl: Bugfix
|
||||||
|
|
||||||
* src/ejabberd_sm.erl: Optimized check_max_sessions (thanks to
|
* src/ejabberd_sm.erl: Optimized check_max_sessions (thanks to
|
||||||
|
@ -120,9 +120,10 @@ unregister_route(Domain) ->
|
|||||||
case get_component_number(LDomain) of
|
case get_component_number(LDomain) of
|
||||||
undefined ->
|
undefined ->
|
||||||
F = fun() ->
|
F = fun() ->
|
||||||
case mnesia:match(#route{domain = LDomain,
|
case mnesia:match_object(
|
||||||
pid = Pid,
|
#route{domain = LDomain,
|
||||||
_ = '_'}) of
|
pid = Pid,
|
||||||
|
_ = '_'}) of
|
||||||
[R] ->
|
[R] ->
|
||||||
mnesia:delete_object(R);
|
mnesia:delete_object(R);
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user