diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-18 23:34:45 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-18 23:34:45 +0000 |
commit | 8828b8cedd16a6d3bb405efef08895ef2c09048d (patch) | |
tree | eef0b9d95cb7e088fa084888aa323a81137e8b87 /src/fe-common/irc/notifylist | |
parent | ff706b45b972980059d93fd6570862c6c69a05ff (diff) | |
download | irssi-8828b8cedd16a6d3bb405efef08895ef2c09048d.zip |
/NOTIFY -list displays now "-idle" before the actual idle time..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@489 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/notifylist')
-rw-r--r-- | src/fe-common/irc/notifylist/fe-notifylist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/irc/notifylist/fe-notifylist.c b/src/fe-common/irc/notifylist/fe-notifylist.c index fb6596d8..0efd1869 100644 --- a/src/fe-common/irc/notifylist/fe-notifylist.c +++ b/src/fe-common/irc/notifylist/fe-notifylist.c @@ -139,12 +139,12 @@ static void cmd_notify_show(void) static void notifylist_print(NOTIFYLIST_REC *rec) { - char idle[MAX_INT_STRLEN], *ircnets; + char idle[10+MAX_INT_STRLEN], *ircnets; if (rec->idle_check_time <= 0) idle[0] = '\0'; else - g_snprintf(idle, sizeof(idle), "%d", rec->idle_check_time); + g_snprintf(idle, sizeof(idle), "-idle %d", rec->idle_check_time); ircnets = rec->ircnets == NULL ? NULL : g_strjoinv(",", rec->ircnets); |