From 731dca8858f8df15234f4ad1d36207e0a333217a Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 2 Oct 2019 14:16:36 -0400 Subject: [PATCH] patch --- sopel_modules/SpiceBot/Channels.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sopel_modules/SpiceBot/Channels.py b/sopel_modules/SpiceBot/Channels.py index 5c0f187..76429a2 100644 --- a/sopel_modules/SpiceBot/Channels.py +++ b/sopel_modules/SpiceBot/Channels.py @@ -159,8 +159,8 @@ class BotChannels(): self.channeldict_append(channel) self.lock.acquire() + self.chandict[channel]["joined"] = True if reason != "check": - self.chandict[channel]["joined"] = True self.chandict[channel]["reason"] = reason self.lock.release() @@ -174,8 +174,8 @@ class BotChannels(): self.channeldict_append(channel) self.lock.acquire() + self.chandict[channel]["joined"] = False if reason != "check": - self.chandict[channel]["joined"] = False self.chandict[channel]["reason"] = reason self.lock.release() @@ -352,7 +352,7 @@ class BotChannels(): if not channels: return channel = Identifier(channels.group(1)) - self.add_channel(channel) + self.add_channel(channel, " check") mapping = {'+': sopel.module.VOICE, '%': sopel.module.HALFOP,