summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/notifylist
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/irc/notifylist')
-rw-r--r--src/fe-common/irc/notifylist/fe-notifylist.c4
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);