about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--handle.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/handle.c b/handle.c
index d268d14..f49ed3b 100644
--- a/handle.c
+++ b/handle.c
@@ -553,6 +553,14 @@ static void handleMode(struct Message *msg) {
 	}
 }
 
+static void handleErrorChanopPrivsNeeded(struct Message *msg) {
+	require(msg, false, 3);
+	uiFormat(
+		idFor(msg->params[1]), Cold, tagTime(msg),
+		"%s", msg->params[2]
+	);
+}
+
 static void handleErrorUserNotInChannel(struct Message *msg) {
 	require(msg, false, 4);
 	uiFormat(
@@ -886,6 +894,7 @@ static const struct Handler {
 	{ "441", handleErrorUserNotInChannel },
 	{ "443", handleErrorUserOnChannel },
 	{ "478", handleErrorBanListFull },
+	{ "482", handleErrorChanopPrivsNeeded },
 	{ "671", handleReplyWhoisGeneric },
 	{ "900", handleReplyLoggedIn },
 	{ "904", handleErrorSASLFail },
;id=5d2e6a931fc870375bf8a00a0ebec8b8725d8acc&follow=1'>Add Additional Components section to READMEJune McEnroe 2020-08-12Document -L / palaver optionJune McEnroe 2020-08-11contrib/palaver: Document service configurationJune McEnroe 2020-08-11contrib/palaver: Add install target and rc scriptJune McEnroe 2020-08-11contrib/palaver: Implement command and notificationsJune McEnroe