aboutsummaryrefslogtreecommitdiff
path: root/modules/line_handler/core.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-08 10:59:14 +0100
committerGravatar jesopo2019-06-08 10:59:52 +0100
commitd4ba98307f98a083fba7c67738b445c21141ebd2 (patch)
tree144ab03a87bba69a83099b0144b954c29e6afdcc /modules/line_handler/core.py
parentOnly request a CAP once. closes #66 (diff)
signature
We should look at ISUPPORT's STATUSMSG token instead of PREFIX
Diffstat (limited to 'modules/line_handler/core.py')
-rw-r--r--modules/line_handler/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/line_handler/core.py b/modules/line_handler/core.py
index 06f95f0e..b85a9677 100644
--- a/modules/line_handler/core.py
+++ b/modules/line_handler/core.py
@@ -53,6 +53,8 @@ def handle_005(events, event):
event["server"].channel_types = list(isupport["CHANTYPES"])
if "CASEMAPPING" in isupport:
event["server"].case_mapping = isupport["CASEMAPPING"]
+ if "STATUSMSG" in isupport:
+ event["server"].statusmsg = list(isupport["STATUSMSG"])
events.on("received.005").call(isupport=isupport,
server=event["server"])