regular who doesn't send account

This commit is contained in:
TingPing 2013-04-04 05:07:42 -04:00
parent e0a7f0ae59
commit b0d1c884e0
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)