From b0d1c884e0aa88784c3351895f21ac31323afbcd Mon Sep 17 00:00:00 2001 From: TingPing Date: Thu, 4 Apr 2013 05:07:42 -0400 Subject: regular who doesn't send account --- src/common/proto-irc.c | 2 +- src/common/userlist.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common') 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) -- cgit 1.4.1