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

* src/ejabberd_router.erl: Bugfix

SVN Revision: 977
This commit is contained in:
Alexey Shchepin 2007-11-25 16:39:56 +00:00
parent 950060cd3c
commit a487652fe9
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2007-11-25 Alexey Shchepin <alexey@process-one.net>
* src/ejabberd_router.erl: Bugfix
* src/ejabberd_s2s_out.erl: Bugfix
* src/ejabberd_sm.erl: Optimized check_max_sessions (thanks to

View File

@ -120,9 +120,10 @@ unregister_route(Domain) ->
case get_component_number(LDomain) of
undefined ->
F = fun() ->
case mnesia:match(#route{domain = LDomain,
pid = Pid,
_ = '_'}) of
case mnesia:match_object(
#route{domain = LDomain,
pid = Pid,
_ = '_'}) of
[R] ->
mnesia:delete_object(R);
_ ->