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