Fix for OnClientConnect plugin event