comparison libpurple/protocols/oscar/util.c @ 22752:a184ac4eace6

Go back to not allowing periods in screen names. I think the guy said this didn't help him, and I don't really believe that they're valid.
author Mark Doliner <mark@kingant.net>
date Thu, 17 Apr 2008 07:12:45 +0000
parents 76b501dfe231
children 6e1967b0f90b
comparison
equal deleted inserted replaced
22682:8f4f88e03efb 22752:a184ac4eace6
154 /* Normal AIM screen names can't start with a number */ 154 /* Normal AIM screen names can't start with a number */
155 if (isdigit(sn[0])) 155 if (isdigit(sn[0]))
156 return FALSE; 156 return FALSE;
157 157
158 for (i = 0; sn[i] != '\0'; i++) { 158 for (i = 0; sn[i] != '\0'; i++) {
159 if (!isalnum(sn[i]) && (sn[i] != ' ') && (sn[i] != '.')) 159 if (!isalnum(sn[i]) && (sn[i] != ' '))
160 return FALSE; 160 return FALSE;
161 } 161 }
162 162
163 return TRUE; 163 return TRUE;
164 } 164 }