Merge pull request #293 from weiss/fix-comment

Fix a comment in ejabberd_hooks
This commit is contained in:
Evgeny Khramtsov 2014-08-27 12:48:58 +04:00
commit 2cb0f92fe6
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ run(Hook, Host, Args) ->
%% The arguments passed to the function are: [Val | Args].
%% 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 {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, global, Val, Args).