V5.2.3 If missing MOTD

This commit is contained in:
adator
2024-09-16 21:14:04 +02:00
parent 66ea492593
commit c1c0b480ce
2 changed files with 9 additions and 1 deletions

View File

@@ -180,10 +180,18 @@ class Connection:
match response[1]: match response[1]:
case '376': case '376':
# End of MOTD
self.currentCloneObject.connected = True self.currentCloneObject.connected = True
for channel in self.channels: for channel in self.channels:
self.send2socket(f"JOIN {channel}") self.send2socket(f"JOIN {channel}")
return None return None
case '422':
# Missing MOTD
self.currentCloneObject.connected = True
for channel in self.channels:
self.send2socket(f"JOIN {channel}")
return None
case 'PRIVMSG': case 'PRIVMSG':
self.Base.logs.debug(response) self.Base.logs.debug(response)
self.Base.logs.debug(f'{self.currentCloneObject.nickname} - {self.currentCloneObject.alive}') self.Base.logs.debug(f'{self.currentCloneObject.nickname} - {self.currentCloneObject.alive}')

View File

@@ -1,3 +1,3 @@
{ {
"version": "5.2.2" "version": "5.2.3"
} }