diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-08-12 13:17:42 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-08-12 13:17:42 +0300 |
commit | 31faa4eb9ad881c7884cd24f5d374d8b20e4b6c5 (patch) | |
tree | 8e23cec0f14663cf1f8e5bdcedff0625914f6cca /src/mod_http_upload_quota.erl | |
parent | Improve some type specs (diff) |
Add more type specs
Diffstat (limited to 'src/mod_http_upload_quota.erl')
-rw-r--r-- | src/mod_http_upload_quota.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_http_upload_quota.erl b/src/mod_http_upload_quota.erl index 056edbed..fa37b801 100644 --- a/src/mod_http_upload_quota.erl +++ b/src/mod_http_upload_quota.erl @@ -263,8 +263,8 @@ code_change(_OldVsn, #state{server_host = ServerHost} = State, _Extra) -> %% ejabberd_hooks callback. %%-------------------------------------------------------------------- --spec handle_slot_request(term(), jid(), binary(), non_neg_integer(), binary()) - -> term(). +-spec handle_slot_request(allow | deny, jid(), binary(), + non_neg_integer(), binary()) -> allow | deny. handle_slot_request(allow, #jid{lserver = ServerHost} = JID, Path, Size, _Lang) -> |