1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-05 10:39:29 +02:00

Fix type specs

This commit is contained in:
Evgeny Khramtsov 2019-06-27 11:32:54 +03:00
parent 4e5daf4d72
commit 2abca350e0
5 changed files with 7 additions and 7 deletions

View file

@ -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},