Problem: event broadcasts were not working

If the client argument was null, no events were being broadcast.

Solution: fix the code.