mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 10:39:29 +02:00
Fix type specs
This commit is contained in:
parent
4e5daf4d72
commit
2abca350e0
5 changed files with 7 additions and 7 deletions
|
@ -1189,7 +1189,7 @@ authenticate(#connect{password = Pass} = Pkt, IP) ->
|
|||
%%%===================================================================
|
||||
%%% Validators
|
||||
%%%===================================================================
|
||||
-spec validate_will(connect(), jid:jid()) -> ok | {error, reason_code()}.
|
||||
-spec validate_will(connect(), jid:jid()) -> ok | {error, error_reason()}.
|
||||
validate_will(#connect{will = undefined}, _) ->
|
||||
ok;
|
||||
validate_will(#connect{will = #publish{topic = Topic, payload = Payload},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue