Services: I still didn't test that code

This commit is contained in:
Valentin Lorentz 2023-09-08 23:54:47 +02:00
parent f905036d7a
commit 5ab7c8a749

View File

@ -380,8 +380,8 @@ class Services(callbacks.Plugin):
state.identified = True
for channel in irc.state.channels.keys():
self.checkPrivileges(irc, channel)
if irc.state.fsm in [irclib.IrcStateFsm.CONNECTED,
irclib.IrcStateFsm.CONNECTED_SASL]:
if irc.state.fsm in [irclib.IrcStateFsm.States.CONNECTED,
irclib.IrcStateFsm.States.CONNECTED_SASL]:
for channel in state.channels:
irc.queueMsg(networkGroup.channels.join(channel))
waitingJoins = state.waitingJoins