aboutsummaryrefslogtreecommitdiff
path: root/src/shaper.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/shaper.erl')
-rw-r--r--src/shaper.erl11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/shaper.erl b/src/shaper.erl
index b9f460395..a31ec5560 100644
--- a/src/shaper.erl
+++ b/src/shaper.erl
@@ -5,7 +5,7 @@
%%% Created : 9 Feb 2003 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
-%%% ejabberd, Copyright (C) 2002-2013 ProcessOne
+%%% ejabberd, Copyright (C) 2002-2014 ProcessOne
%%%
%%% This program is free software; you can redistribute it and/or
%%% modify it under the terms of the GNU General Public License as
@@ -17,10 +17,9 @@
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
%%% General Public License for more details.
%%%
-%%% You should have received a copy of the GNU General Public License
-%%% along with this program; if not, write to the Free Software
-%%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-%%% 02111-1307 USA
+%%% You should have received a copy of the GNU General Public License along
+%%% with this program; if not, write to the Free Software Foundation, Inc.,
+%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
%%%
%%%----------------------------------------------------------------------
@@ -84,8 +83,6 @@ new(Name) ->
[#shaper{maxrate = R}] ->
R;
[] ->
- ?WARNING_MSG("Attempt to initialize an "
- "unspecified shaper '~s'", [Name]),
none
end,
new1(MaxRate).