Set message variables in unregister_via_link()