3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

unreal: remove invalid comparison

(Regression from commit fac6fe506f)
This commit is contained in:
James Lu 2018-09-21 21:40:27 -07:00
parent 667fa610ec
commit 2f4476eb0c

View File

@ -112,7 +112,7 @@ class UnrealProtocol(TS6BaseProtocol):
# Forward this on to SJOIN, as using JOIN in Unreal S2S seems to cause TS corruption bugs.
# This seems to be what Unreal itself does anyways.
if channel not in self.channels and prefix == '':
if channel not in self.channels:
prefix = 'o' # Create new channels with the first joiner as op
else:
prefix = ''