Only send 'PROTOCTL NAMESX' when we're not already got IRCv3's multi-prefix CAP
active
This commit is contained in:
parent
6bf6905262
commit
88cb327d02
1 changed files with 2 additions and 1 deletions
|
@ -80,7 +80,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
isupport[key] = None
|
isupport[key] = None
|
||||||
event["server"].isupport.update(isupport)
|
event["server"].isupport.update(isupport)
|
||||||
|
|
||||||
if "NAMESX" in isupport:
|
if "NAMESX" in isupport and not "multi-prefix" in event[
|
||||||
|
"server"].capabilities:
|
||||||
event["server"].send("PROTOCTL NAMESX")
|
event["server"].send("PROTOCTL NAMESX")
|
||||||
|
|
||||||
if "PREFIX" in isupport:
|
if "PREFIX" in isupport:
|
||||||
|
|
Loading…
Reference in a new issue