From c7b67ff00b4c1055b0dca789d94f53c85893d42c Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 8 Jan 2016 13:13:30 +0100 Subject: [PATCH] Clarify a little more room error string (thanks to Genghis Khan) --- src/mod_muc_room.erl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index 40d11bf67..6dfda260f 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -228,8 +228,8 @@ normal_state({route, From, <<"">>, case is_user_online(From, StateData) of true -> ErrorText = <<"It is not allowed to send error messages to the" - " room. This participant (~s) sent an error " - "message (~s) and gets kicked from the room">>, + " room. The participant (~s) has sent an error " + "message (~s) and got kicked from the room">>, NewState = expulse_participant(Packet, From, StateData, translate:translate(Lang, ErrorText)), @@ -516,8 +516,8 @@ normal_state({route, From, ToNick, {expulse_sender, Reason} -> ?DEBUG(Reason, []), ErrorText = <<"It is not allowed to send error messages to the" - " room. This participant (~s) sent an error " - "message (~s) and gets kicked from the room">>, + " room. The participant (~s) has sent an error " + "message (~s) and got kicked from the room">>, NewState = expulse_participant(Packet, From, StateData, translate:translate(Lang, ErrorText)), {next_state, normal_state, NewState}; @@ -1057,8 +1057,8 @@ process_presence(From, Nick, remove_online_user(From, NewState, Reason); <<"error">> -> ErrorText = <<"It is not allowed to send error messages to the" - " room. This participant (~s) sent an error " - "message (~s) and gets kicked from the room">>, + " room. The participant (~s) has sent an error " + "message (~s) and got kicked from the room">>, expulse_participant(Packet, From, StateData, translate:translate(Lang, ErrorText));