Use context directly for mode change
This commit is contained in:
parent
81c96f4a56
commit
4a02943a6e
@ -166,7 +166,7 @@ def connect_callback():
|
|||||||
mode = hooks.Features["PREFIX"]["+"]
|
mode = hooks.Features["PREFIX"]["+"]
|
||||||
pending = []
|
pending = []
|
||||||
for user in channels.Main.modes.get(mode, ()):
|
for user in channels.Main.modes.get(mode, ()):
|
||||||
pending.append(("-" + mode, user.nick))
|
pending.append(("-" + mode, user))
|
||||||
accumulator.send(pending)
|
accumulator.send(pending)
|
||||||
next(accumulator, None)
|
next(accumulator, None)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user