Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-08-26 03:04:15 +0400
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-08-26 03:04:15 +0400
commitf1ad6f017b99420f968da1e86b60526fd7b87cdf (patch)
treee961ab79938f406f589756c7adf51054942e170b /src/ejabberd_hooks.erl
parent191eeed7c99b2ea1a1d84d47fd6840bdcd5c242e (diff)
Fix a comment in ejabberd_hooks
Diffstat (limited to 'src/ejabberd_hooks.erl')
-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 e1f99eb88..87c26c5ed 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).