aboutsummaryrefslogtreecommitdiff
path: root/modules/line_handler.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-08 14:30:50 +0000
committerGravatar jesopo2018-11-08 14:30:50 +0000
commit88cb327d021cb39fb6f291e96a3ac0c6ecffbc15 (patch)
tree7af1dadb2d737ee77497fa6e0da3093aec088ac1 /modules/line_handler.py
parentKeep a track of bytes written and read per server (diff)
signature
Only send 'PROTOCTL NAMESX' when we're not already got IRCv3's multi-prefix CAP
active
Diffstat (limited to 'modules/line_handler.py')
-rw-r--r--modules/line_handler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/line_handler.py b/modules/line_handler.py
index 5554183d..0033ea4f 100644
--- a/modules/line_handler.py
+++ b/modules/line_handler.py
@@ -80,7 +80,8 @@ class Module(ModuleManager.BaseModule):
isupport[key] = None
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")
if "PREFIX" in isupport: