summaryrefslogtreecommitdiff
path: root/src/fe-common/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-03-03 23:27:07 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-03-03 23:27:07 +0000
commitc5cccfcdaa3e75c378b14086679e54a781b5b8c6 (patch)
tree3e06e98f93cd86ce555960fee312817cb0a67501 /src/fe-common/core
parent6ae8ab57666e7969f8a10ca13edaa7933fe0cb3a (diff)
downloadirssi-c5cccfcdaa3e75c378b14086679e54a781b5b8c6.zip
fe-common/irc/flood removed. Some autoignore / ignore -time updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1330 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core')
-rw-r--r--src/fe-common/core/fe-ignore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-ignore.c b/src/fe-common/core/fe-ignore.c
index bab6b00e..7c10893f 100644
--- a/src/fe-common/core/fe-ignore.c
+++ b/src/fe-common/core/fe-ignore.c
@@ -140,7 +140,8 @@ static void cmd_ignore(const char *data)
rec->fullword = g_hash_table_lookup(optlist, "word") != NULL;
rec->replies = g_hash_table_lookup(optlist, "replies") != NULL;
timestr = g_hash_table_lookup(optlist, "time");
- rec->time = timestr == NULL ? 0 : atoi(timestr);
+ if (timestr != NULL)
+ rec->unignore_time = time(NULL)+atoi(timestr);
if (rec->level == 0) {
printformat(NULL, NULL, MSGLEVEL_CLIENTNOTICE, TXT_UNIGNORED,