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 17d9494d..5e53be2a 100644
--- a/src/common/userlist.c
+++ b/src/common/userlist.c
@@ -149,7 +149,7 @@ userlist_add_hostname (struct session *sess, char *nick, char *hostname,
 			user->realname = strdup (realname);
 		if (!user->servername && servername)
 			user->servername = strdup (servername);
-		if (!user->account && account && strcmp (account, ":0") != 0 && strcmp (account, "0") != 0)
+		if (!user->account && account && strcmp (account, "0") != 0)
 			user->account = strdup (account);
 
 		if (away != 0xff)