mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Improve type spec
This commit is contained in:
parent
17b05ff4b7
commit
6c323b729b
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ get_features(Component, {Host, XMLNS}, Host, XMLNSs) ->
|
||||||
get_features(_, _, _, XMLNSs) ->
|
get_features(_, _, _, XMLNSs) ->
|
||||||
XMLNSs.
|
XMLNSs.
|
||||||
|
|
||||||
-spec process_iq(binary(), atom(), atom(), iq()) -> any().
|
-spec process_iq(binary(), atom(), atom(), iq()) -> ok.
|
||||||
process_iq(_Host, Module, Function, IQ) ->
|
process_iq(_Host, Module, Function, IQ) ->
|
||||||
try process_iq(Module, Function, IQ) of
|
try process_iq(Module, Function, IQ) of
|
||||||
#iq{} = ResIQ ->
|
#iq{} = ResIQ ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue