diff src/protocols/oscar/util.c @ 8437:990314a962fb

[gaim-migrate @ 9167] Small patch from evands to let you add @mac.com screen names to your buddy lists again. I think I broke this after 0.75 was released. Also add a check to make sure you're signing on with a valid screen name, but leave it commented out because it would break the string freeze. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 12 Mar 2004 22:57:29 +0000
parents 697221d5d0ff
children 4274f888477e
line wrap: on
line diff
--- a/src/protocols/oscar/util.c	Fri Mar 12 16:59:22 2004 +0000
+++ b/src/protocols/oscar/util.c	Fri Mar 12 22:57:29 2004 +0000
@@ -179,7 +179,7 @@
 			if (!isdigit(sn[i]))
 				return 0;
 		} else {
-			if (!isalnum(sn[i]) && (sn[i] != ' '))
+			if (!isalnum(sn[i]) && (sn[i] != ' ') && (sn[i] != '@') && (sn[i] != '.'))
 				return 0;
 		}
 		i++;