summary refs log tree commit diff stats
path: root/src/common/proto-irc.c
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-05-23 19:12:10 +0100
committerGitHub <noreply@github.com>2021-05-23 13:12:10 -0500
commite4fd69e3d4ec2eb707a693ea69b8e14181249d0a (patch)
tree8469ab29009e0e5314c4637ee88706184b78e20b /src/common/proto-irc.c
parentf0554b27df459b7794d990f9da72318e2e3d2620 (diff)
Implement support for the IRCv3 SETNAME specification. (#2571)
Diffstat (limited to 'src/common/proto-irc.c')
-rw-r--r--src/common/proto-irc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index fa2d822b..e3f4a962 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -1157,6 +1157,11 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[],
 							   NULL, 0xff, tags_data);
 			return;
 
+		case WORDL('S', 'E', 'T', 'N'):
+			inbound_user_info (sess, NULL, NULL, NULL, NULL, nick, STRIP_COLON(word, word_eol, 3),
+							   NULL, 0xff, tags_data);
+			return;
+
 		case WORDL('I','N','V','I'):
 			if (ignore_check (word[1], IG_INVI))
 				return;