diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 7b72700a..bb342ae7 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -472,7 +472,7 @@ class Module(ModuleManager.BaseModule): if data["forced"]: forced = "%s " % utils.irc.color("force", utils.consts.RED) - if len(data["commits"]) == 0: + if len(data["commits"]) == 0 and data["forced"]: outputs.append( "%s %spushed to %s" % (author, forced, branch)) elif len(data["commits"]) <= 3: