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));