- ret.ret = (g_lang == 'en' ? "More than three contiguous '" + old_c + "' not allowed." :
- "Il nickname contiene più di tre caratteri '" + old_c + "' consecutivi.");
+ if (old_c == '0')
+ ret.ret = (g_lang == 'en' ? "More than two contiguous digits not allowed." :
+ "Il nickname contiene più di 2 cifre consecutive.");
+ else
+ ret.ret = (g_lang == 'en' ? "More than two contiguous '" + old_c + "' not allowed." :
+ "Il nickname contiene più di 2 caratteri '" + old_c + "' consecutivi.");