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