diff src/protocols/oscar/util.c @ 8885:4274f888477e

[gaim-migrate @ 9654] Patch from Evan Schoenberg of Adium to allow Gaim to sign on AIM screen names containing _'s. This is apparently valid for @mac.com accounts, although I wasn't able to create an AIM account. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 06 May 2004 05:15:24 +0000
parents 990314a962fb
children f09801513729
line wrap: on
line diff
--- a/src/protocols/oscar/util.c	Thu May 06 05:10:15 2004 +0000
+++ b/src/protocols/oscar/util.c	Thu May 06 05:15:24 2004 +0000
@@ -179,7 +179,7 @@
 			if (!isdigit(sn[i]))
 				return 0;
 		} else {
-			if (!isalnum(sn[i]) && (sn[i] != ' ') && (sn[i] != '@') && (sn[i] != '.'))
+			if (!isalnum(sn[i]) && (sn[i] != ' ') && (sn[i] != '@') && (sn[i] != '.') && (sn[i] != '_'))
 				return 0;
 		}
 		i++;