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

Merge pull request #232 from weiss/dont-drop-listen-options

Don't "forget" listener options
This commit is contained in:
Evgeny Khramtsov 2014-06-04 23:37:13 +04:00
commit 5992582bc5

View File

@ -595,7 +595,7 @@ transform_option({{Port, IP, Transport}, Mod, Opts}) ->
try try
Mod:transform_listen_option(Opt, Acc) Mod:transform_listen_option(Opt, Acc)
catch error:undef -> catch error:undef ->
Acc [Opt|Acc]
end end
end, [], Opts1), end, [], Opts1),
TransportOpt = if Transport == tcp -> []; TransportOpt = if Transport == tcp -> [];