mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-12 21:52:07 +02:00
Fix a comment in ejabberd_hooks
This commit is contained in:
parent
191eeed7c9
commit
f1ad6f017b
|
@ -151,7 +151,7 @@ run(Hook, Host, Args) ->
|
||||||
%% The arguments passed to the function are: [Val | Args].
|
%% The arguments passed to the function are: [Val | Args].
|
||||||
%% The result of a call is used as Val for the next call.
|
%% The result of a call is used as Val for the next call.
|
||||||
%% If a call returns 'stop', no more calls are performed and 'stopped' is returned.
|
%% If a call returns 'stop', no more calls are performed and 'stopped' is returned.
|
||||||
%% If a call returns {stopped, NewVal}, no more calls are performed and NewVal is returned.
|
%% If a call returns {stop, NewVal}, no more calls are performed and NewVal is returned.
|
||||||
run_fold(Hook, Val, Args) ->
|
run_fold(Hook, Val, Args) ->
|
||||||
run_fold(Hook, global, Val, Args).
|
run_fold(Hook, global, Val, Args).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user