diff options
author | TingPing <tngpng@gmail.com> | 2013-05-11 02:10:42 -0700 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-05-11 02:10:42 -0700 |
commit | 250d9b565cdd039bf9bcd275ca45b0d0ef70f3aa (patch) | |
tree | 19f5b0e6e93fcd4e613f484eb974128e361937e5 /src/common | |
parent | 6e7c0395e1d124e4dabb730edc6b5d2efe748e5b (diff) | |
parent | 2f1f2c6a8573e3022fe03a563acdd59b6617de1b (diff) |
Merge pull request #582 from Repentinus/patch-1
Support for away tracking regardless of channel size
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/hexchat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/hexchat.c b/src/common/hexchat.c index cef391d2..72b97e3a 100644 --- a/src/common/hexchat.c +++ b/src/common/hexchat.c @@ -304,7 +304,7 @@ away_check (void) GSList *list; int full, sent, loop = 0; - if (!prefs.hex_away_track || prefs.hex_away_size_max < 1) + if (!prefs.hex_away_track) return 1; doover: @@ -319,7 +319,7 @@ doover: if (sess->server->connected && sess->type == SESS_CHANNEL && sess->channel[0] && - sess->total <= prefs.hex_away_size_max) + (sess->total <= prefs.hex_away_size_max || !prefs.hex_away_size_max)) { if (!sess->done_away_check) { |