changeset 22438:76b501dfe231

Some AIM screen names have periods in them, but it's like impossible to register one now, I think. Fixes #5108.
author Mark Doliner <mark@kingant.net>
date Sun, 09 Mar 2008 18:47:09 +0000
parents 8802eddbfedc
children ec8eddc93a7f
files libpurple/protocols/oscar/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/util.c	Sun Mar 09 16:52:07 2008 +0000
+++ b/libpurple/protocols/oscar/util.c	Sun Mar 09 18:47:09 2008 +0000
@@ -156,7 +156,7 @@
 		return FALSE;
 
 	for (i = 0; sn[i] != '\0'; i++) {
-		if (!isalnum(sn[i]) && (sn[i] != ' '))
+		if (!isalnum(sn[i]) && (sn[i] != ' ') && (sn[i] != '.'))
 			return FALSE;
 	}