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:
parent
950060cd3c
commit
a487652fe9
@ -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
|
||||
|
@ -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);
|
||||
_ ->
|
||||
|
Loading…
Reference in New Issue
Block a user