mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-12 13:12:36 +01:00
unreal: fix incorrect comment
This commit is contained in:
parent
a3ee7f2c8a
commit
d5a2d3b0e8
@ -323,7 +323,7 @@ class UnrealProtocol(TS6BaseProtocol):
|
|||||||
finalprefix += char
|
finalprefix += char
|
||||||
namelist.append(user)
|
namelist.append(user)
|
||||||
self.irc.users[user].channels.add(channel)
|
self.irc.users[user].channels.add(channel)
|
||||||
# Only merge prefix modes if our TS is smaller or equal to theirs.
|
# Only merge the remote's prefix modes if their TS is smaller or equal to ours.
|
||||||
if their_ts <= our_ts:
|
if their_ts <= our_ts:
|
||||||
utils.applyModes(self.irc, channel, [('+%s' % mode, user) for mode in finalprefix])
|
utils.applyModes(self.irc, channel, [('+%s' % mode, user) for mode in finalprefix])
|
||||||
self.irc.channels[channel].users.add(user)
|
self.irc.channels[channel].users.add(user)
|
||||||
|
Loading…
Reference in New Issue
Block a user