changeset 32473:6ffb26b8a8ce

Fix mark's commit and allow aim accounts to work again
author Gary Kramlich <grim@reaperworld.com>
date Wed, 11 Jan 2012 01:03:31 +0000
parents 4db23cc97da4
children 53ae12ee0b68
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	Mon Jan 09 11:32:01 2012 +0000
+++ b/libpurple/protocols/oscar/util.c	Wed Jan 11 01:03:31 2012 +0000
@@ -142,7 +142,7 @@
 		return TRUE;
 
 	/* Normal AIM usernames can't start with a number, period or underscore */
-	if (isalnum(name[0]))
+	if (isalnum(name[0]) == 0)
 		return FALSE;
 
 	for (i = 0; name[i] != '\0'; i++) {