Fix bug where message would get spammed.