From 248c0cbb78a53a467e4f04ab64bcc9b65245adc5 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 8 Apr 2016 22:20:23 -0700 Subject: [PATCH] hybrid: virtual umodes +d/+x don't take arguments --- protocols/hybrid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/hybrid.py b/protocols/hybrid.py index 451642e..8c767dd 100644 --- a/protocols/hybrid.py +++ b/protocols/hybrid.py @@ -63,7 +63,7 @@ class HybridProtocol(TS6Protocol): 'nickchange_notices': 'n', 'hideidle': 'q', 'registered': 'r', 'smessages': 's', 'ssl': 'S', 'sjoins': 'e', 'botfloods': 'b', # Now, map all the ABCD type modes: - '*A': 'dx', '*B': '', '*C': '', '*D': 'oiwlpRDg' + '*A': '', '*B': '', '*C': '', '*D': 'oiwlpRDgdx' } self.irc.umodes.update(umodes) @@ -257,7 +257,7 @@ class HybridProtocol(TS6Protocol): # SVSMODE is also used to set cloaks on Hybrid. # "SVSMODE 001TARGET +x some.host" would change 001TARGET's host # to some.host, for example. - host = modepair[1] + host = args[-1] self.irc.users[target].host = host