about summary refs log tree commit diff
path: root/irc.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-09-16 17:41:18 -0400
committerJune McEnroe <june@causal.agency>2019-09-16 17:41:18 -0400
commit5cf4beec7a00580c2d9b975075ae38edf0886c18 (patch)
tree725dd9127d09060def6ccdb00ef4b93b0449cdf4 /irc.c
parentUse /etc/ssl/cert.pem in chroot (diff)
downloadcatgirl-5cf4beec7a00580c2d9b975075ae38edf0886c18.tar.gz
catgirl-5cf4beec7a00580c2d9b975075ae38edf0886c18.zip
Remove -W WEBIRC option
Diffstat (limited to '')
-rw-r--r--irc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/irc.c b/irc.c
index 45c1a68..66ffddb 100644
--- a/irc.c
+++ b/irc.c
@@ -74,17 +74,6 @@ int ircConnect(void) {
 	error = tls_connect_socket(client, sock, self.host);
 	if (error) errx(EX_PROTOCOL, "tls_connect: %s", tls_error(client));
 
-	const char *ssh = getenv("SSH_CLIENT");
-	if (self.webp && ssh) {
-		int len = strlen(ssh);
-		const char *sp = strchr(ssh, ' ');
-		if (sp) len = sp - ssh;
-		ircFmt(
-			"WEBIRC %s %s %.*s %.*s\r\n",
-			self.webp, self.user, len, ssh, len, ssh
-		);
-	}
-
 	if (self.auth) ircFmt("CAP REQ :sasl\r\n");
 	if (self.pass) ircFmt("PASS :%s\r\n", self.pass);
 	ircFmt("NICK %s\r\n", self.nick);