mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 02:29:34 +02:00
Improve some validators
This commit is contained in:
parent
cd36bb6eda
commit
1fe1322bc1
3 changed files with 13 additions and 18 deletions
|
@ -349,7 +349,7 @@ mod_opt_type(via) ->
|
|||
{Type, {Host, Port}}
|
||||
end)).
|
||||
|
||||
-spec mod_options(binary()) -> [{via, [{tcp | tls | udp, {binary(), 1..65535}}]} |
|
||||
-spec mod_options(binary()) -> [{via, [{tcp | tls | udp, {binary(), 1..65535 | undefined}}]} |
|
||||
{atom(), term()}].
|
||||
mod_options(Host) ->
|
||||
Route = #uri{scheme = <<"sip">>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue