diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-06-14 12:33:26 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-06-14 12:33:26 +0300 |
commit | a02cff0e780bb735531594c4ece81e8628f79782 (patch) | |
tree | 6fe7d8219d14f58183be1741fcea262c216db447 /src/str.erl | |
parent | Return jid_malformed error when sending presence without nick to conference (diff) |
Use new configuration validator
Diffstat (limited to '')
-rw-r--r-- | src/str.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/str.erl b/src/str.erl index bbf0d6a6..07a5d09d 100644 --- a/src/str.erl +++ b/src/str.erl @@ -289,7 +289,7 @@ format(Format, Args) -> iolist_to_binary(io_lib:format(Format, Args)). --spec sha(binary()) -> binary(). +-spec sha(iodata()) -> binary(). sha(Text) -> Bin = crypto:hash(sha, Text), |