Don't touch ejabberd.cfg if ejabberd_muclog_format is not set
This commit is contained in:
parent
c698eb72ef
commit
eb0fb28ea2
2 changed files with 4 additions and 3 deletions
|
@ -21,7 +21,7 @@
|
|||
# Path where to store chatroom logs. Disabled by default.
|
||||
#
|
||||
# $ejabberd_muclog_format:
|
||||
# Chatroom log format. Valid values html or plaintext, defaults to html.
|
||||
# Chatroom log format. Valid values html or plaintext.
|
||||
#
|
||||
class ejabberd {
|
||||
|
||||
|
@ -36,8 +36,7 @@ class ejabberd {
|
|||
}
|
||||
|
||||
case $ejabberd_muclog_format {
|
||||
"": { $ejabberd_muclog_format = "html" }
|
||||
"html","plaintext": { }
|
||||
"","html","plaintext": { }
|
||||
default: {
|
||||
fail("Invalid value ${ejabberd_muclog_format} for \$ejabberd_muclog_format.")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue