summaryrefslogtreecommitdiff
path: root/src/mod_last.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_last.erl
parentImprove some type specs (diff)
Add more type specs
Diffstat (limited to 'src/mod_last.erl')
-rw-r--r--src/mod_last.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_last.erl b/src/mod_last.erl
index 6d0edebf..56e3b1c5 100644
--- a/src/mod_last.erl
+++ b/src/mod_last.erl
@@ -200,6 +200,7 @@ get_last_info(LUser, LServer) ->
Res -> Res
end.
+-spec remove_user(binary(), binary()) -> any().
remove_user(User, Server) ->
LUser = jid:nodeprep(User),
LServer = jid:nameprep(Server),