From 1837edf1c234157854e46e5f9f4716b6a37cec2b Mon Sep 17 00:00:00 2001 From: adator <85586985+adator85@users.noreply.github.com> Date: Sat, 3 Aug 2024 21:14:28 +0200 Subject: [PATCH] patch V4.0.4 --- core/irc.py | 3 +++ version.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/irc.py b/core/irc.py index 6a20745..3bf3770 100644 --- a/core/irc.py +++ b/core/irc.py @@ -758,6 +758,9 @@ class Irc: self.Base.logs.info(f"# CHANNEL : {self.Config.SERVICE_CHANLOG} ") self.Base.logs.info(f"# VERSION : {version} ") self.Base.logs.info(f"################################################") + + if self.Base.check_for_new_version(): + self.send2socket(f":{self.Config.SERVICE_NICKNAME} PRIVMSG {self.Config.SERVICE_CHANLOG} : New Version available {version}") # Initialisation terminé aprés le premier PING self.INIT = 0 diff --git a/version.json b/version.json index 2048f10..7ed1978 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "4.0.3" + "version": "4.0.4" } \ No newline at end of file