summaryrefslogtreecommitdiff
path: root/src/mod_last.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-04-05 13:09:44 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-04-05 13:09:44 +0300
commit9ac6e4edf71cd5acee70ef52ae25ce021aa033f2 (patch)
tree420e7ddbae035f841ffb4edce985776c780d1970 /src/mod_last.erl
parentReplace some ?ERR_* macros with ?ERRT_* (diff)
Replace more ?ERR_* macros with ?ERRT_*
Diffstat (limited to '')
-rw-r--r--src/mod_last.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mod_last.erl b/src/mod_last.erl
index e67a02cc..009a1cb0 100644
--- a/src/mod_last.erl
+++ b/src/mod_last.erl
@@ -152,8 +152,7 @@ process_sm_iq(From, To,
of
allow -> get_last_iq(IQ, SubEl, User, Server);
deny ->
- Txt = <<"Denied by privacy lists">>,
- IQ#iq{type = error, sub_el = [SubEl, ?ERRT_FORBIDDEN(Lang, Txt)]}
+ IQ#iq{type = error, sub_el = [SubEl, ?ERR_FORBIDDEN]}
end;
true ->
Txt = <<"Not subscribed">>,