authmod
authmod copied to clipboard
Error while inserting a new player in a database is not always caught
it happened to me after a quick fix for #35
when cannot insert because of a unique key, the sql error is not caught, and player will need to register everytime they disconnect, which is critical.
TODO: make sure an error is raised when trying to violate unicity or something like that