This is a ZNC module to truncate the buffer on msg (clearbufferonmsg cuts off too much for my taste)