diff options
| author | 2018-11-08 14:30:50 +0000 | |
|---|---|---|
| committer | 2018-11-08 14:30:50 +0000 | |
| commit | 88cb327d021cb39fb6f291e96a3ac0c6ecffbc15 (patch) | |
| tree | 7af1dadb2d737ee77497fa6e0da3093aec088ac1 /modules | |
| parent | Keep 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')
| -rw-r--r-- | modules/line_handler.py | 3 |
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: |
