summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--chat.h2
-rw-r--r--handle.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index b14a65a..adde642 100644
--- a/chat.h
+++ b/chat.h
@@ -93,6 +93,8 @@ extern struct Network {
 	char *paramModes;
 	char *setParamModes;
 	char *channelModes;
+	char excepts;
+	char invex;
 } network;
 
 extern struct Self {
diff --git a/handle.c b/handle.c
index d4f615e..6de7fd0 100644
--- a/handle.c
+++ b/handle.c
@@ -228,6 +228,10 @@ static void handleReplyISupport(struct Message *msg) {
 			set(&network.paramModes, strsep(&msg->params[i], ","));
 			set(&network.setParamModes, strsep(&msg->params[i], ","));
 			set(&network.channelModes, strsep(&msg->params[i], ","));
+		} else if (!strcmp(key, "EXCEPTS")) {
+			network.excepts = (msg->params[i] ? msg->params[i][0] : 'e');
+		} else if (!strcmp(key, "INVEX")) {
+			network.invex = (msg->params[i] ? msg->params[i][0] : 'I');
 		}
 	}
 }
s='logheader'>2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe cwm still needs a lot more rebinding, and I need to actually look at its other options. xterm definitely still needs some configuration, but I at least managed to get it to use a decent looking font. Very happy that OpenBSD includes Luxi Mono, which is what my usual font, Go Mono, is based on anyway. Still missing is xmodmap and such. 2021-02-06Add xterm output to schemeJune McEnroe