summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common/proto-irc.c2
-rw-r--r--src/common/userlist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index 073a0d8b..dd2bc13a 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -721,7 +721,7 @@ process_numeric (session * sess, int n,
 				away = 1;
 
 			inbound_user_info (sess, word[4], word[5], word[6], word[7],
-									 word[8], word_eol[11], word[10], away);
+									 word[8], word_eol[11], NULL, away);
 
 			/* try to show only user initiated whos */
 			if (!who_sess || !who_sess->doing_who)
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)