From 96d96d128800bf52280c8e9c8e0f68bd52ab32f5 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Wed, 7 Sep 2022 21:42:59 -0700 Subject: [PATCH] Add /who handling irc-framework sends the WHOX cuhsnfdaor flags and doesn't support receiving others, so we manually remove parameters the user doesn't request. I also added an uncaught exception handler on the server to stop a subset of crashes. The problem is people won't look at their server logs often, but bookworm and I agreed that's better than crashing. When we add an admin role we can report it to them. https://ircv3.net/specs/extensions/whox ref kiwiirc/irc-framework#331 --- client/components/MessageTypes/whois.vue | 18 ++--- server/plugins/inputs/index.ts | 1 + server/plugins/inputs/who.ts | 89 ++++++++++++++++++++++++ 3 files changed, 100 insertions(+), 8 deletions(-) create mode 100644 server/plugins/inputs/who.ts diff --git a/client/components/MessageTypes/whois.vue b/client/components/MessageTypes/whois.vue index 3cfd5eea..cc600b39 100644 --- a/client/components/MessageTypes/whois.vue +++ b/client/components/MessageTypes/whois.vue @@ -1,6 +1,6 @@ -
Host mask:
-
- -
+