]> granicus.if.org Git - ejabberd/commitdiff
mod_muc: Don't set default for muc#roomconfig_lang
authorHolger Weiss <holger@zedat.fu-berlin.de>
Mon, 16 Jul 2018 13:15:36 +0000 (15:15 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Mon, 16 Jul 2018 13:15:36 +0000 (15:15 +0200)
For the muc#roomconfig_lang setting, no default is preferable over a
possibly incorrect default value.

src/mod_muc.erl

index bdf925168ea0601c01d37459593f3c2f05cfdfea..f871c0b77fbe7a036712355b64763c5b297da876 100644 (file)
@@ -1022,7 +1022,7 @@ mod_options(Host) ->
        {allow_visitor_status,true},
        {anonymous,true},
        {captcha_protected,false},
-       {lang, ejabberd_config:get_mylang()},
+       {lang,<<>>},
        {logging,false},
        {members_by_default,true},
        {members_only,false},