summary refs log tree commit diff stats
path: root/src
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
parente0a7f0ae596bcf5132d941ac9108fe771baeb4fb (diff)
regular who doesn't send account
Diffstat (limited to 'src')
-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)