summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Khramtsov <xramtsov@gmail.com>2014-08-27 12:48:58 +0400
committerEvgeny Khramtsov <xramtsov@gmail.com>2014-08-27 12:48:58 +0400
commit2cb0f92fe6d514b1d2382620420055aec9b019dd (patch)
tree209c8f11e5a7224f962a43790f6e191af66060a9 /src
parentMerge pull request #292 from weiss/fix-xep-reference (diff)
parentFix a comment in ejabberd_hooks (diff)
Merge pull request #293 from weiss/fix-comment
Fix a comment in ejabberd_hooks
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd_hooks.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_hooks.erl b/src/ejabberd_hooks.erl
index e1f99eb8..87c26c5e 100644
--- a/src/ejabberd_hooks.erl
+++ b/src/ejabberd_hooks.erl
@@ -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).