H-uru / dirtsand

The D'ni in Real-Time Server and Network Dæmon
GNU Affero General Public License v3.0
35 stars 24 forks source link

Fix incorrect error check in `dm_auth_createPlayer` #129

Closed Hoikas closed 6 years ago

Hoikas commented 6 years ago

This incorrect error check caused a false failure on player creation.

zrax commented 6 years ago

Good catch. I did a quick review, and found one other incorrect case on AuthDaemon.cpp:62 (dm_auth_addacct) if you want to add it.

Hoikas commented 6 years ago

Updated to fix dm_auth_addacct