summary refs log tree commit diff stats
path: root/src/common/proto-irc.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-25 00:20:21 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-25 00:20:21 +0200
commit0003b85ccb915d7fd4e0d7d3ea742e854ec782b9 (patch)
tree228d666ccb45d37250ea44f3dcc0180793cfe7d1 /src/common/proto-irc.c
parent842e74dce81f031439d2c1dc30dfff20c39eafa0 (diff)
Bypass the identify-msg patch as well, breaks SASL
Diffstat (limited to 'src/common/proto-irc.c')
-rw-r--r--src/common/proto-irc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index 8967504e..342ad221 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -49,7 +49,9 @@ irc_login (server *serv, char *user, char *realname)
 {
 	if (serv->password[0])
 		tcp_sendf (serv, "PASS %s\r\n", serv->password);
+#if 0	/* breaks the SASL plugin */
 	tcp_sendf (serv, "CAP LS\r\n");
+#endif
 
 	tcp_sendf (serv,
 				  "NICK %s\r\n"
@@ -1115,6 +1117,7 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[])
 		}
 	}
 
+#if 0	/* breaks the SASL plugin */
 	else if (len == 3)
 	{
 		guint32 t;
@@ -1149,6 +1152,7 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[])
 				return;
 		}
 	}
+#endif
 
 garbage:
 	/* unknown message */