From 8c772f58829f027e1d8c8ff12248a70e231af93d Mon Sep 17 00:00:00 2001 From: adator <85586985+adator85@users.noreply.github.com> Date: Tue, 20 Aug 2024 02:07:21 +0200 Subject: [PATCH] Fix channel update --- core/irc.py | 3 +-- version.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/irc.py b/core/irc.py index 26cdb05..66364a3 100644 --- a/core/irc.py +++ b/core/irc.py @@ -747,7 +747,6 @@ class Irc: self.Channel.insert( self.Channel.ChannelModel( name=channel, - mode=mode, uids=list_users ) ) @@ -756,7 +755,7 @@ class Irc: # ['@unrealircd.org/geoip=FR;unrealircd.org/userhost=50d6492c@80.214.73.44;unrealircd.org/userip=50d6492c@80.214.73.44;msgid=YSIPB9q4PcRu0EVfC9ci7y-/mZT0+Gj5FLiDSZshH5NCw;time=2024-08-15T15:35:53.772Z', # ':001EPFBRD', 'PART', '#welcome', ':WEB', 'IRC', 'Paris'] uid = str(cmd[1]).replace(':','') - channel = str(cmd[3]) + channel = str(cmd[3]).lower() self.Channel.delete_user_from_channel(channel, uid) pass diff --git a/version.json b/version.json index 13968cc..dd6f605 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "5.0.1" + "version": "5.0.2" } \ No newline at end of file