diff options
| author | 2019-05-20 16:33:32 +0100 | |
|---|---|---|
| committer | 2019-05-20 16:33:32 +0100 | |
| commit | bdd161256d70bcc6f5fc8b41b065c5fbce2f470d (patch) | |
| tree | a2390ef5139572473157008311b0c30248fa9f01 /modules/line_handler/core.py | |
| parent | ParsedLine already deals with preventing newlines (diff) | |
| signature | ||
`has_capability` -> `has_capability_str`, add new `has_capability`
Diffstat (limited to 'modules/line_handler/core.py')
| -rw-r--r-- | modules/line_handler/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/line_handler/core.py b/modules/line_handler/core.py index 676b9105..88544a08 100644 --- a/modules/line_handler/core.py +++ b/modules/line_handler/core.py @@ -29,7 +29,7 @@ def handle_005(events, event): isupport[key] = None event["server"].isupport.update(isupport) - if "NAMESX" in isupport and not event["server"].has_capability( + if "NAMESX" in isupport and not event["server"].has_capability_str( "multi-prefix"): event["server"].send("PROTOCTL NAMESX") |
