Merge pull request #17 from adator85/dev

Fix channel update
This commit is contained in:
adator
2024-08-20 02:08:09 +02:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@@ -747,7 +747,6 @@ class Irc:
self.Channel.insert( self.Channel.insert(
self.Channel.ChannelModel( self.Channel.ChannelModel(
name=channel, name=channel,
mode=mode,
uids=list_users 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', # ['@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'] # ':001EPFBRD', 'PART', '#welcome', ':WEB', 'IRC', 'Paris']
uid = str(cmd[1]).replace(':','') uid = str(cmd[1]).replace(':','')
channel = str(cmd[3]) channel = str(cmd[3]).lower()
self.Channel.delete_user_from_channel(channel, uid) self.Channel.delete_user_from_channel(channel, uid)
pass pass

View File

@@ -1,3 +1,3 @@
{ {
"version": "5.0.1" "version": "5.0.2"
} }