1
0
forked from 0ad/0ad

Revert the wrong "insufficient permissions to remove an account" error message from 9281aaf25e to the previous "Registration forbidden" which is shown when lobby registrations are disabled or restricted to some IP range.

Differential Revision: https://code.wildfiregames.com/D319
Refs #3047
Reviewed By: scythetwirler, leper
This was SVN commit r19575.
This commit is contained in:
elexis 2017-05-14 03:18:21 +00:00
parent 08b23d0164
commit d5c9725dc3

View File

@ -1074,7 +1074,7 @@ std::string XmppClient::RegistrationResultToString(gloox::RegistrationResult res
CASE(RegistrationConflict, g_L10n.Translate("Username already exists"));
DEBUG_CASE(RegistrationNotAuthorized, "Account removal timeout or insufficiently secure channel for password change");
DEBUG_CASE(RegistrationBadRequest, "Server recieved incomplete request");
DEBUG_CASE(RegistrationForbidden, "This client has insufficient permissions to remove an account");
DEBUG_CASE(RegistrationForbidden, "Registration forbidden");
DEBUG_CASE(RegistrationRequired, "Account cannot be removed as it does not exist");
DEBUG_CASE(RegistrationUnexpectedRequest, "This client is unregistered with the server");
DEBUG_CASE(RegistrationNotAllowed, "Server does not permit password changes");