Fix incorrect parameter in the call to account_set_email_verified() in _handle_end_apiregtag()

This commit is contained in:
relesgoe 2020-08-08 09:45:56 -07:00
parent fadd8927b0
commit 7df9d21cf1

View file

@ -875,7 +875,7 @@ namespace pvpgn
account_set_wol_apgar(tempacct, wol_pass_hash);
if (apiregmember_get_email(apiregmember))
{
account_set_email_verified(account, false);
account_set_email_verified(tempacct, false);
account_set_email(tempacct, apiregmember_get_email(apiregmember));
}
std::snprintf(message, sizeof(message), "Welcome in the amazing world of PvPGN! Your login can be used for all PvPGN Supported games!");