From bd6fe052bce57849a7a850c0c5bee0ad896b9460 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 28 Dec 2002 17:54:13 +0000 Subject: Added time, size and level setting types. Breaks some settings - I'll add automatic converter to these settings later. Meanwhile you CVS users can fix your config files yourself :) Time settings allow using "days", "hours", "minutes", "seconds" and "milliseconds" or several of their abbreviations. For example "5d 4h 5msecs". Size settings allow using "gbytes", "mbytes", "kbytes" and "bytes" or their abbrevations. For example "5MB". Level settings are currently handled pretty much the way they were before. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3080 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/notifylist/notify-commands.c | 16 ++++++++-------- src/irc/notifylist/notify-ison.c | 13 +++++++------ 2 files changed, 15 insertions(+), 14 deletions(-) (limited to 'src/irc/notifylist') diff --git a/src/irc/notifylist/notify-commands.c b/src/irc/notifylist/notify-commands.c index c51f33f3..1fb485e3 100644 --- a/src/irc/notifylist/notify-commands.c +++ b/src/irc/notifylist/notify-commands.c @@ -26,9 +26,7 @@ #include "notifylist.h" -#define DEFAULT_NOTIFY_IDLE_TIME 60 - -/* SYNTAX: NOTIFY [-away] [-idle []] [] */ +/* SYNTAX: NOTIFY [-away] [-idle [