mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Use YAML syntax for limits option in mod_multicast
This commit is contained in:
parent
70606d7f1a
commit
0534678028
@ -998,9 +998,8 @@ build_service_limit_record(LimitOpts) ->
|
||||
build_limit_record(LimitOptsR, remote)}.
|
||||
|
||||
get_from_limitopts(LimitOpts, SenderT) ->
|
||||
[{StanzaT, Number}
|
||||
|| {SenderT2, StanzaT, Number} <- LimitOpts,
|
||||
SenderT =:= SenderT2].
|
||||
{SenderT, Result} = lists:keyfind(SenderT, 1, LimitOpts),
|
||||
Result.
|
||||
|
||||
build_remote_limit_record(LimitOpts, SenderT) ->
|
||||
build_limit_record(LimitOpts, SenderT).
|
||||
|
Loading…
Reference in New Issue
Block a user