]> granicus.if.org Git - ejabberd/commitdiff
Fix a comment in ejabberd_hooks
authorHolger Weiss <holger@zedat.fu-berlin.de>
Mon, 25 Aug 2014 23:04:15 +0000 (01:04 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Mon, 25 Aug 2014 23:04:15 +0000 (01:04 +0200)
src/ejabberd_hooks.erl

index e1f99eb88600f0208acc674b5506c346b8bbb7db..87c26c5ed8e58be243cbdd131cb51455875ff7d6 100644 (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).