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

Improve type spec

This commit is contained in:
Evgeniy Khramtsov 2018-06-14 19:51:50 +03:00
parent 17b05ff4b7
commit 6c323b729b

View File

@ -105,7 +105,7 @@ get_features(Component, {Host, XMLNS}, Host, XMLNSs) ->
get_features(_, _, _, XMLNSs) ->
XMLNSs.
-spec process_iq(binary(), atom(), atom(), iq()) -> any().
-spec process_iq(binary(), atom(), atom(), iq()) -> ok.
process_iq(_Host, Module, Function, IQ) ->
try process_iq(Module, Function, IQ) of
#iq{} = ResIQ ->