25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

* src/ejabberd_hooks.erl: fixed typo

SVN Revision: 1970
This commit is contained in:
Evgeniy Khramtsov 2009-03-06 10:03:29 +00:00
parent 0e8f56f0b3
commit 06eb54fef8

View File

@ -82,7 +82,7 @@ add(Hook, Host, Module, Function, Seq) ->
delete(Hook, Function, Seq) when is_function(Function) ->
delete(Hook, global, undefined, Function, Seq).
delete(Hook, Host, Function, Seq) when is_function(Seq) ->
delete(Hook, Host, Function, Seq) when is_function(Function) ->
delete(Hook, Host, undefined, Function, Seq);
%% @spec (Hook::atom(), Module::atom(), Function::atom(), Seq::integer()) -> ok