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:
parent
c72599cacd
commit
94ec73686e
@ -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
|
||||
|
@ -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} ->
|
||||
|
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user