25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-31 15:21:38 +01:00

Remove annyoing warnings

This commit is contained in:
Evgeniy Khramtsov 2013-08-21 11:42:56 +10:00
parent d5f90965d7
commit 5c36c44689
2 changed files with 0 additions and 5 deletions

View File

@ -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(

View File

@ -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).