summary refs log tree commit diff stats
path: root/src/common/ctcp.c
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-06-18 20:34:11 +0100
committerPatrick <tingping@tingping.se>2021-06-19 20:16:40 -0500
commit08e13a3ac58896fd9a0a2e5a004f9b180d1dfeeb (patch)
tree287ed9404fb5bb634542980be472844eea7b4a17 /src/common/ctcp.c
parentf5926fbd2392476f918fb1ab2a405c1c451359a1 (diff)
Replace identify-msg support with solanum.chat/identify-msg.
Diffstat (limited to 'src/common/ctcp.c')
-rw-r--r--src/common/ctcp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/ctcp.c b/src/common/ctcp.c
index a8e1ea8d..f9c05440 100644
--- a/src/common/ctcp.c
+++ b/src/common/ctcp.c
@@ -94,9 +94,6 @@ ctcp_handle (session *sess, char *to, char *nick, char *ip,
 	char outbuf[1024];
 	int ctcp_offset = 2;
 
-	if (serv->have_idmsg && (word[4][1] == '+' || word[4][1] == '-') )
-			ctcp_offset = 3;
-
 	/* consider DCC to be different from other CTCPs */
 	if (!g_ascii_strncasecmp (msg, "DCC", 3))
 	{
@@ -129,7 +126,7 @@ ctcp_handle (session *sess, char *to, char *nick, char *ip,
 		if (ctcp_check (sess, nick, word, word_eol, word[4] + ctcp_offset))
 			goto generic;
 
-		inbound_action (sess, to, nick, ip, msg + 7, FALSE, id, tags_data);
+		inbound_action (sess, to, nick, ip, msg + 7, FALSE, tags_data->identified, tags_data);
 		return;
 	}