summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--chat.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/chat.c b/chat.c
index f799687..20a4290 100644
--- a/chat.c
+++ b/chat.c
@@ -260,6 +260,16 @@ static void handlePing(char *prefix, char *params) {
 	clientFmt("PONG %s\r\n", params);
 }
 
+static void handle432(char *prefix, char *params) {
+	(void)prefix;
+	shift(&params);
+	shift(&params);
+	char *mesg = shift(&params);
+	uiFmt("You can't use that name here");
+	uiFmt("Sheriff says, \"%s\"", mesg);
+	uiFmt("Type /nick <name> to choose a new one");
+}
+
 static void handle001(char *prefix, char *params) {
 	(void)prefix;
 	char *nick = shift(&params);
@@ -416,6 +426,8 @@ static const struct {
 	{ "332", handle332 },
 	{ "352", handle352 },
 	{ "366", handle366 },
+	{ "432", handle432 },
+	{ "433", handle432 },
 	{ "JOIN", handleJoin },
 	{ "KICK", handleKick },
 	{ "NICK", handleNick },
ow=1'>Update catgirl pty grabJune McEnroe 2020-02-12Link to cgit /about pages where appropriateJune McEnroe 2020-02-11Separate LINKS from BINS for html to workJune McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe 2020-01-28Change scout sensitivity to 1.4June McEnroe 2020-01-28Import shows.txtJune McEnroe