aboutsummaryrefslogtreecommitdiff
path: root/src/mod_vcard.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-08-12 13:17:42 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-08-12 13:17:42 +0300
commit31faa4eb9ad881c7884cd24f5d374d8b20e4b6c5 (patch)
tree8e23cec0f14663cf1f8e5bdcedff0625914f6cca /src/mod_vcard.erl
parentImprove some type specs (diff)
Add more type specs
Diffstat (limited to '')
-rw-r--r--src/mod_vcard.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_vcard.erl b/src/mod_vcard.erl
index 4653d6e2c..f0fb556ba 100644
--- a/src/mod_vcard.erl
+++ b/src/mod_vcard.erl
@@ -423,6 +423,7 @@ search(LServer, XFields) ->
Mod:search(LServer, Data, AllowReturnAll, MaxMatch).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+-spec remove_user(binary(), binary()) -> any().
remove_user(User, Server) ->
LUser = jid:nodeprep(User),
LServer = jid:nameprep(Server),