summary refs log tree commit diff stats
path: root/src/common/userlist.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-04-04 05:07:42 -0400
committerTingPing <tingping@tingping.se>2013-04-04 05:07:42 -0400
commitb0d1c884e0aa88784c3351895f21ac31323afbcd (patch)
treee4bbb30f5fa4b366f040b0702c25190514e8e364 /src/common/userlist.c
parente0a7f0ae596bcf5132d941ac9108fe771baeb4fb (diff)
regular who doesn't send account
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)