summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2009-03-15 16:25:42 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-03-15 16:25:42 +0000
commitdde30e63d6d6a842fb9d871c3de2e5c40ad756e0 (patch)
tree831c066750a12ed654ef5dd13e58ec2b124c88be
parentd81ec453780e6072efe28d145a992d51e89b8de1 (diff)
downloadirssi-dde30e63d6d6a842fb9d871c3de2e5c40ad756e0.zip
Correct previous commit: fix away checking
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5040 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/irc/notifylist/notifylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/notifylist/notifylist.c b/src/irc/notifylist/notifylist.c
index 07317164..467fa30a 100644
--- a/src/irc/notifylist/notifylist.c
+++ b/src/irc/notifylist/notifylist.c
@@ -289,7 +289,7 @@ static void notifylist_check_join(IRC_SERVER_REC *server, const char *nick,
if (away != -1) rec->away = away;
rec->host_ok = TRUE;
rec->join_announced = TRUE;
- rec->away_ok = TRUE;
+ rec->away_ok = !notify->away_check || !rec->away;
signal_emit("notifylist joined", 6,
server, rec->nick, rec->user, rec->host, realname, NULL);