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/channel.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/channel.py')
| -rw-r--r-- | modules/line_handler/channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/line_handler/channel.py b/modules/line_handler/channel.py index 0f0858c6..5b877764 100644 --- a/modules/line_handler/channel.py +++ b/modules/line_handler/channel.py @@ -42,7 +42,7 @@ def handle_353(event): modes.add(event["server"].prefix_symbols[nickname[0]]) nickname = nickname[1:] - if event["server"].has_capability("userhost-in-names"): + if event["server"].has_capability_str("userhost-in-names"): hostmask = utils.irc.seperate_hostmask(nickname) nickname = hostmask.nickname user = event["server"].get_user(hostmask.nickname) |
