mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
pr/insp: Strip out listmodes in FJOIN
They should always be sent separately according to the protocol documentation: https://wiki.inspircd.org/InspIRCd_Spanning_Tree_1.2/FJOIN Closes #58.
This commit is contained in:
parent
27edc81894
commit
7d912bbb28
@ -80,7 +80,8 @@ def sjoinServer(irc, server, channel, users, ts=None):
|
||||
else:
|
||||
utils.applyModes(irc, channel, modes)
|
||||
'''
|
||||
modes = irc.channels[channel].modes
|
||||
# Strip out list-modes, they shouldn't be ever sent in FJOIN.
|
||||
modes = [m for m in irc.channels[channel].modes if m[0] not in irc.cmodes['*A']]
|
||||
uids = []
|
||||
changedmodes = []
|
||||
namelist = []
|
||||
|
Loading…
Reference in New Issue
Block a user