mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
patch
This commit is contained in:
parent
64a9737e38
commit
731dca8858
@ -159,8 +159,8 @@ class BotChannels():
|
|||||||
self.channeldict_append(channel)
|
self.channeldict_append(channel)
|
||||||
|
|
||||||
self.lock.acquire()
|
self.lock.acquire()
|
||||||
|
self.chandict[channel]["joined"] = True
|
||||||
if reason != "check":
|
if reason != "check":
|
||||||
self.chandict[channel]["joined"] = True
|
|
||||||
self.chandict[channel]["reason"] = reason
|
self.chandict[channel]["reason"] = reason
|
||||||
self.lock.release()
|
self.lock.release()
|
||||||
|
|
||||||
@ -174,8 +174,8 @@ class BotChannels():
|
|||||||
self.channeldict_append(channel)
|
self.channeldict_append(channel)
|
||||||
|
|
||||||
self.lock.acquire()
|
self.lock.acquire()
|
||||||
|
self.chandict[channel]["joined"] = False
|
||||||
if reason != "check":
|
if reason != "check":
|
||||||
self.chandict[channel]["joined"] = False
|
|
||||||
self.chandict[channel]["reason"] = reason
|
self.chandict[channel]["reason"] = reason
|
||||||
self.lock.release()
|
self.lock.release()
|
||||||
|
|
||||||
@ -352,7 +352,7 @@ class BotChannels():
|
|||||||
if not channels:
|
if not channels:
|
||||||
return
|
return
|
||||||
channel = Identifier(channels.group(1))
|
channel = Identifier(channels.group(1))
|
||||||
self.add_channel(channel)
|
self.add_channel(channel, " check")
|
||||||
|
|
||||||
mapping = {'+': sopel.module.VOICE,
|
mapping = {'+': sopel.module.VOICE,
|
||||||
'%': sopel.module.HALFOP,
|
'%': sopel.module.HALFOP,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user