Mercurial > pidgin
changeset 20970:84c7f5cdb8f3
Me and Jim Rodgers from meebo don't think that . _ and - are valid
characters in a normal AIM screen name. If I'm wrong then please
let me know.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 16 Oct 2007 07:45:02 +0000 |
parents | 17ee8c81c99b |
children | bff8c5241e20 |
files | libpurple/protocols/oscar/util.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/util.c Tue Oct 16 07:31:41 2007 +0000 +++ b/libpurple/protocols/oscar/util.c Tue Oct 16 07:45:02 2007 +0000 @@ -156,9 +156,7 @@ return FALSE; for (i = 0; sn[i] != '\0'; i++) { - if (!isalnum(sn[i]) && (sn[i] != ' ') && - (sn[i] != '.') && - (sn[i] != '_') && (sn[i] != '-')) + if (!isalnum(sn[i]) && (sn[i] != ' ')) return FALSE; }