diff options
Diffstat (limited to 'src/core_modules')
| -rw-r--r-- | src/core_modules/line_handler/core.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core_modules/line_handler/core.py b/src/core_modules/line_handler/core.py index c72bcb77..a7075613 100644 --- a/src/core_modules/line_handler/core.py +++ b/src/core_modules/line_handler/core.py @@ -61,6 +61,13 @@ def handle_005(events, event): list_numeric = qiuet.get(2, "367") # RPL_BANLIST end_numeric = quiet.get(3, "368") # RPL_ENDOFBANLIST event["server"].quiet = [quiet[0], prefix, list_numeric, end_numeric] + if "TARGMAX" in isupport: + targmax = {} + for piece in isupport["TARGMAX"].split(","): + cmd, _, n = piece.partition(":") + if n: + targmax[cmd] = int(n) + event["server"].targmax = targmax events.on("received.005").call(isupport=isupport, server=event["server"]) |
