def METHOD_NAME(sender, receiver, message, lang):
    if receiver.friends_manager.has_ignore(sender.guid):
        sender_packet = ChatManager._get_message_packet(receiver.guid, receiver.chat_flags, message,
                                                        ChatMsgs.CHAT_MSG_IGNORED, lang)
        sender.enqueue_packet(sender_packet)
    else:
        sender_packet = ChatManager._get_message_packet(receiver.guid, receiver.chat_flags, message,
                                                        ChatMsgs.CHAT_MSG_WHISPER_INFORM, lang)
        sender.enqueue_packet(sender_packet)
        receiver_packet = ChatManager._get_message_packet(sender.guid, sender.chat_flags, message,
                                                          ChatMsgs.CHAT_MSG_WHISPER, lang)
        receiver.enqueue_packet(receiver_packet)
        ChatLogManager.log_whisper(sender, message, receiver)