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
|
@ -583,7 +583,9 @@ user, host = admin.split("@") -%>
|
|||
{access_log, muc},
|
||||
{outdir, "<%= ejabberd_muclog_datadir %>"},
|
||||
{dirtype, subdirs},
|
||||
<% if has_variable?("ejabberd_muclog_format") -%>
|
||||
{file_format, <%= ejabberd_muclog_format %>},
|
||||
<% end -%>
|
||||
{cssfile, false},
|
||||
{top_link, {"/portal/", "Back to Portal"}}
|
||||
]},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue