aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules/line_handler/channel.py
diff options
context:
space:
mode:
authorGravatar jesopo2020-01-23 12:23:27 +0000
committerGravatar jesopo2020-01-23 12:23:27 +0000
commitef2d80511d3bab58aa960c8c91f5687748603970 (patch)
tree3dfbeb48ce195eccb90edc8953df23ef3afeef0b /src/core_modules/line_handler/channel.py
parentonly query missing list modes on MODE when we're seen ENDOFWHO (diff)
signature
only check missed modes if our mode changes and `MODE #chan` responds
Diffstat (limited to 'src/core_modules/line_handler/channel.py')
-rw-r--r--src/core_modules/line_handler/channel.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core_modules/line_handler/channel.py b/src/core_modules/line_handler/channel.py
index 0def7828..a343392d 100644
--- a/src/core_modules/line_handler/channel.py
+++ b/src/core_modules/line_handler/channel.py
@@ -115,6 +115,7 @@ def part(events, event):
def handle_324(events, event):
if event["line"].args[1] in event["server"].channels:
channel = event["server"].channels.get(event["line"].args[1])
+ channel.seen_modes = True
modes = event["line"].args[2]
args = event["line"].args[3:]
new_modes = channel.parse_modes(modes, args[:])