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_pres_counter.erl | |
parent | Improve some type specs (diff) |
Add more type specs
Diffstat (limited to '')
-rw-r--r-- | src/mod_pres_counter.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_pres_counter.erl b/src/mod_pres_counter.erl index 786ba97f..955e53f6 100644 --- a/src/mod_pres_counter.erl +++ b/src/mod_pres_counter.erl @@ -51,6 +51,8 @@ stop(Host) -> depends(_Host, _Opts) -> []. +-spec check_packet(allow | deny, binary(), binary(), _, + {jid(), jid(), stanza()}, in | out) -> allow | deny. check_packet(_, _User, Server, _PrivacyList, {From, To, #presence{type = Type}}, Dir) -> IsSubscription = case Type of |