alliedmodders/sourcemod — pull request #210 by psychonic (2014-11-26 23:44:00+00:00)
Title: Fix clientprefs IsAuthIdConnected (again).

The previous fix for this had some fatal flaws, such as requiring all id formats to match the input (never gonna happen).

This fixes and streamlines the IsAuthIdConnected check. Only authorized players are considered, rather than connected players. This allows us to also skip the NULL checks on the id. The first id format match, if any, is taken.