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:
parent
17b05ff4b7
commit
6c323b729b
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user