summary refs log tree commit diff stats
path: root/src/common/userlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/userlist.c')
-rw-r--r--src/common/userlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/userlist.c b/src/common/userlist.c
index 7565fcd4..e08cb857 100644
--- a/src/common/userlist.c
+++ b/src/common/userlist.c
@@ -416,7 +416,7 @@ userlist_add (struct session *sess, char *name, char *hostname,
 	/* extended join info */
 	if (sess->server->have_extjoin)
 	{
-		if (account && strcmp (account, "*") != 0)
+		if (account && *account)
 			user->account = strdup (account);
 		if (realname && *realname)
 			user->realname = strdup (realname);