diff options
Diffstat (limited to '')
-rw-r--r-- | src/mod_last.erl | 3 |
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">>, |