25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

* src/shaper.erl: Bugfix

* src/ejabberd_config.erl: Likewise

SVN Revision: 658
This commit is contained in:
Alexey Shchepin 2006-10-02 18:54:10 +00:00
parent c72599cacd
commit 94ec73686e
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2006-10-01 Alexey Shchepin <alexey@sevcom.net>
* src/shaper.erl: Bugfix
* src/ejabberd_config.erl: Likewise
* src/ejabberd_frontend_socket.erl: Support for frontend
connection manager
* src/ejabberd_c2s.erl: Likewise

View File

@ -95,8 +95,9 @@ process_term(Term, State) ->
{access, RuleName, Rules} ->
process_host_term(Term, global, State);
{shaper, Name, Data} ->
lists:foldl(fun(Host, S) -> process_host_term(Term, Host, S) end,
State, State#state.hosts);
%lists:foldl(fun(Host, S) -> process_host_term(Term, Host, S) end,
% State, State#state.hosts);
process_host_term(Term, global, State);
{host, Host} ->
State;
{hosts, Hosts} ->

View File

@ -16,7 +16,7 @@
new(Name) ->
Data = case ejabberd_config:get_global_option({shaper, Name}) of
Data = case ejabberd_config:get_global_option({shaper, Name, global}) of
undefined ->
none;
D ->