3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +01:00

unreal: fix incorrect comment

This commit is contained in:
James Lu 2015-10-09 21:39:09 -07:00
parent a3ee7f2c8a
commit d5a2d3b0e8

View File

@ -323,7 +323,7 @@ class UnrealProtocol(TS6BaseProtocol):
finalprefix += char
namelist.append(user)
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:
utils.applyModes(self.irc, channel, [('+%s' % mode, user) for mode in finalprefix])
self.irc.channels[channel].users.add(user)