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

unreal: require UMODE2 cap too

I realize we don't handle MODE being used for users at all. UMODE2 is always used when enabled, which is what we're expecting right now.
This commit is contained in:
James Lu 2016-04-09 11:43:26 -07:00
parent 5dee6ab651
commit 0ccdf4cfce

View File

@ -33,7 +33,7 @@ class UnrealProtocol(TS6BaseProtocol):
self.caps = [] self.caps = []
self.irc.prefixmodes = {'q': '~', 'a': '&', 'o': '@', 'h': '%', 'v': '+'} self.irc.prefixmodes = {'q': '~', 'a': '&', 'o': '@', 'h': '%', 'v': '+'}
self.needed_caps = ["VL", "SID", "CHANMODES", "NOQUIT", "SJ3", "NICKIP"] self.needed_caps = ["VL", "SID", "CHANMODES", "NOQUIT", "SJ3", "NICKIP", "UMODE2"]
# Some command aliases # Some command aliases
self.handle_svskill = self.handle_kill self.handle_svskill = self.handle_kill