filter the history to just PRIVMSGs