25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Remove deprecated calls

This commit is contained in:
Mickael Remond 2019-05-03 15:58:24 +02:00
parent 94f7bbc239
commit 09d67a20d3
No known key found for this signature in database
GPG Key ID: 40C24F21D564358A

View File

@ -49,8 +49,8 @@ defmodule Ejabberd.Config do
"""
def get_ejabberd_opts do
get_general_opts()
|> Dict.put(:modules, get_modules_parsed_in_order())
|> Dict.put(:listeners, get_listeners_parsed_in_order())
|> Map.put(:modules, get_modules_parsed_in_order())
|> Map.put(:listeners, get_listeners_parsed_in_order())
|> Ejabberd.Config.OptsFormatter.format_opts_for_ejabberd
end