Fix for longer passwords in aim

cusax-fix
Damian Minkov 19 years ago
parent 3aa8ce590d
commit a8beab2002

@ -264,9 +264,9 @@ public void register(SecurityAuthority authority)
// it seems icq servers doesn't accept password with
// length more then 8. But allow such registrations
// we must trim such passwords to 8 characters
if(password.length() > 8)
if(USING_ICQ && password.length() > 8)
password = password.substring(0, 8);
//init the necessary objects
session = new DefaultAppSession();
aimSession = session.openAimSession(

Loading…
Cancel
Save