25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +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,
case GAccess ++ LAccess of
[] ->
?WARNING_MSG("Attempt to match against unspecified "
"access rule '~s' (scope: ~s)",
[Access, Host]),
deny;
AccessList ->
Rules = lists:flatmap(

View File

@ -84,8 +84,6 @@ new(Name) ->
[#shaper{maxrate = R}] ->
R;
[] ->
?WARNING_MSG("Attempt to initialize an "
"unspecified shaper '~s'", [Name]),
none
end,
new1(MaxRate).