From 5cf4beec7a00580c2d9b975075ae38edf0886c18 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 16 Sep 2019 17:41:18 -0400 Subject: Remove -W WEBIRC option --- irc.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'irc.c') 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); -- cgit 1.4.1-2-gfad0