From 48438b255655e280e1669190084af92b5eb00e2c Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Fri, 23 Dec 2016 05:12:33 +0100 Subject: [PATCH] fix(github): Replace initial token --- src/modules/github.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/github.cpp b/src/modules/github.cpp index ea9879bb..c8567d3b 100644 --- a/src/modules/github.cpp +++ b/src/modules/github.cpp @@ -21,6 +21,7 @@ namespace modules { if (m_formatter->has(TAG_LABEL)) { m_label = load_optional_label(m_conf, name(), TAG_LABEL, "Notifications: %notifications%"); + m_label->replace_token("%notifications%", m_empty_notifications ? "0" : ""); } }