From: Holger Weiss Date: Mon, 25 Aug 2014 23:04:15 +0000 (+0200) Subject: Fix a comment in ejabberd_hooks X-Git-Tag: 14.12~68^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1ad6f017b99420f968da1e86b60526fd7b87cdf;p=ejabberd Fix a comment in ejabberd_hooks --- 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).