Update /finger command to show whether the account's email is verified or not
This commit is contained in:
parent
4b42777409
commit
80dcead113
2 changed files with 11 additions and 1 deletions
|
@ -2123,5 +2123,13 @@
|
|||
<original>An error has occurred, could not send a verification email.</original>
|
||||
<translate></translate>
|
||||
</item>
|
||||
<item id="530" file="command.cpp" function="_handle_finger_command">
|
||||
<original>(Verified)</original>
|
||||
<translate></translate>
|
||||
</item>
|
||||
<item id="531" file="command.cpp" function="_handle_finger_command">
|
||||
<original>(Unverified)</original>
|
||||
<translate></translate>
|
||||
</item>
|
||||
</items>
|
||||
</root>
|
|
@ -3527,7 +3527,9 @@ namespace pvpgn
|
|||
account_get_auth_mute(account) == 1 ? yes : no);
|
||||
message_send_text(c, message_type_info, c, msgtemp);
|
||||
|
||||
msgtemp = localize(c, "Email: {}", account_get_email(account));
|
||||
msgtemp = localize(c, "Email: {} {}",
|
||||
account_get_email(account),
|
||||
account_get_email_verified(account) == 0 ? localize(c, "(Verified)") : localize(c, "(Unverified)"));
|
||||
message_send_text(c, message_type_info, c, msgtemp);
|
||||
|
||||
msgtemp = localize(c, "Last login Owner: {}", account_get_ll_owner(account));
|
||||
|
|
Loading…
Reference in a new issue