diff options
Diffstat (limited to 'src/common/inbound.c')
-rw-r--r-- | src/common/inbound.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c index f807b783..d44fbef6 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -988,10 +988,7 @@ inbound_away_notify (server *serv, char *nick, char *reason) { sess = list->data; if (sess->server == serv) - if (!reason) - userlist_set_away (sess, nick, FALSE); - else - userlist_set_away (sess, nick, TRUE); + userlist_set_away (sess, nick, reason ? TRUE : FALSE); list = list->next; } } |