mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-27 21:23:28 -08:00
This change accomplishes two goals. The first is it moves the checking for if the servers set user limit is reached out of the socket interface and into the protocol handler portion of the code (were it should live). It also eleminates the need for a DB query at login to check the user count. The user account is actually already maintained by the server and a function already existed to get the user count total.
29 KiB
29 KiB