diff options
Diffstat (limited to 'src/mod_vcard.erl')
-rw-r--r-- | src/mod_vcard.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_vcard.erl b/src/mod_vcard.erl index 2dbc987c9..e2257772a 100644 --- a/src/mod_vcard.erl +++ b/src/mod_vcard.erl @@ -70,10 +70,10 @@ start(Opts) -> init(Host, Search) -> case Search of - true -> - ejabberd_router:register_route(Host), + false -> loop(Host); _ -> + ejabberd_router:register_route(Host), loop(Host) end. |