mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
V5.3.5
This commit is contained in:
12
core/irc.py
12
core/irc.py
@@ -821,7 +821,7 @@ 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(False):
|
||||
self.send2socket(f":{self.Config.SERVICE_NICKNAME} PRIVMSG {self.Config.SERVICE_CHANLOG} : New Version available {version}")
|
||||
|
||||
@@ -829,6 +829,13 @@ class Irc:
|
||||
self.sendPrivMsg(msg=f'[{self.Config.COLORS.green}INFORMATION{self.Config.COLORS.nogc}] >> Defender is ready', channel=self.Config.SERVICE_CHANLOG)
|
||||
self.INIT = 0
|
||||
|
||||
# Send EOF to other modules
|
||||
for classe_name, classe_object in self.loaded_classes.items():
|
||||
classe_object.cmd(original_response)
|
||||
|
||||
# Stop here When EOS
|
||||
return None
|
||||
|
||||
case _:
|
||||
pass
|
||||
|
||||
@@ -1348,8 +1355,9 @@ class Irc:
|
||||
batch_commands = ' | '.join(groupe)
|
||||
self.send2socket(f':{dnickname} NOTICE {fromuser} : {batch_commands}')
|
||||
|
||||
self.send2socket(f':{dnickname} NOTICE {fromuser} : ')
|
||||
|
||||
count_level_definition += 1
|
||||
self.send2socket(f':{dnickname} NOTICE {fromuser} : ')
|
||||
|
||||
self.send2socket(f':{dnickname} NOTICE {fromuser} : ***************** FIN DES COMMANDES *****************')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user