diff options
Diffstat (limited to 'modules/line_handler')
| -rw-r--r-- | modules/line_handler/channel.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/line_handler/channel.py b/modules/line_handler/channel.py index 6976fcc1..0f0858c6 100644 --- a/modules/line_handler/channel.py +++ b/modules/line_handler/channel.py @@ -30,6 +30,11 @@ def handle_333(events, event): def handle_353(event): channel = event["server"].channels.get(event["args"][2]) nicknames = event["args"].get(3).split(" ") + + # there can sometimes be a dangling space at the end of a 353 + if nicknames and not nicknames[-1]: + nicknames.pop(-1) + for nickname in nicknames: modes = set([]) |
