diff options
author | Timo Sirainen <cras@irssi.org> | 2001-03-04 02:49:01 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-03-04 02:49:01 +0000 |
commit | 0b76253492e867e3552cd3c2469ac3b23bef9061 (patch) | |
tree | d091de8308832aa20dd253661538140d12730544 /src | |
parent | 5fc95d018aca83bad2e29f377feeac8ef426e3f6 (diff) | |
download | irssi-0b76253492e867e3552cd3c2469ac3b23bef9061.zip |
Ignores without -time were unignored immediately..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1337 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ignore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ignore.c b/src/core/ignore.c index aee47dab..2429f2ae 100644 --- a/src/core/ignore.c +++ b/src/core/ignore.c @@ -377,7 +377,7 @@ static int unignore_timeout(void) IGNORE_REC *rec = tmp->data; next = tmp->next; - if (now >= rec->unignore_time) { + if (rec->unignore_time > 0 && now >= rec->unignore_time) { rec->level = 0; ignore_update_rec(rec); } |