mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-25 09:50:39 +01:00
unreal: ensure type safety from last commit
This commit is contained in:
parent
8f8cd95395
commit
42a104534a
@ -71,6 +71,7 @@ class UnrealProtocol(TS6BaseProtocol):
|
|||||||
realhost = realhost or host
|
realhost = realhost or host
|
||||||
|
|
||||||
# Add +xt so that vHost cloaking always works.
|
# Add +xt so that vHost cloaking always works.
|
||||||
|
modes = set(modes) # Ensure type safety
|
||||||
modes |= {('+x', None), ('+t', None)}
|
modes |= {('+x', None), ('+t', None)}
|
||||||
|
|
||||||
raw_modes = self.irc.joinModes(modes)
|
raw_modes = self.irc.joinModes(modes)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user