mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Remove annyoing warnings
This commit is contained in:
parent
d5f90965d7
commit
5c36c44689
@ -265,9 +265,6 @@ match_rule(Host, Access, JID) ->
|
|||||||
end,
|
end,
|
||||||
case GAccess ++ LAccess of
|
case GAccess ++ LAccess of
|
||||||
[] ->
|
[] ->
|
||||||
?WARNING_MSG("Attempt to match against unspecified "
|
|
||||||
"access rule '~s' (scope: ~s)",
|
|
||||||
[Access, Host]),
|
|
||||||
deny;
|
deny;
|
||||||
AccessList ->
|
AccessList ->
|
||||||
Rules = lists:flatmap(
|
Rules = lists:flatmap(
|
||||||
|
@ -84,8 +84,6 @@ new(Name) ->
|
|||||||
[#shaper{maxrate = R}] ->
|
[#shaper{maxrate = R}] ->
|
||||||
R;
|
R;
|
||||||
[] ->
|
[] ->
|
||||||
?WARNING_MSG("Attempt to initialize an "
|
|
||||||
"unspecified shaper '~s'", [Name]),
|
|
||||||
none
|
none
|
||||||
end,
|
end,
|
||||||
new1(MaxRate).
|
new1(MaxRate).
|
||||||
|
Loading…
Reference in New Issue
Block a user