mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Merge pull request #293 from weiss/fix-comment
Fix a comment in ejabberd_hooks
This commit is contained in:
commit
2cb0f92fe6
@ -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