Fixed warning in Networkevents.