diff options
author | TingPing <tingping@tingping.se> | 2013-04-04 05:07:42 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-04-04 05:07:42 -0400 |
commit | b0d1c884e0aa88784c3351895f21ac31323afbcd (patch) | |
tree | e4bbb30f5fa4b366f040b0702c25190514e8e364 /src/common/userlist.c | |
parent | e0a7f0ae596bcf5132d941ac9108fe771baeb4fb (diff) |
regular who doesn't send account
Diffstat (limited to 'src/common/userlist.c')
-rw-r--r-- | src/common/userlist.c | 2 |
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) |