summary refs log tree commit diff stats
path: root/src/common/server.c
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-01-29 17:41:08 -0500
committerPatrick Griffis <tingping@tingping.se>2016-01-29 17:41:08 -0500
commit4362085847f359ed13df6f8f488a06eb52ecd767 (patch)
treef03818cefe6c641c6567f36ecd7c0a2196830f4d /src/common/server.c
parent6b62c4738d4b1f5cb1bc70bf58f6a078630e6ef5 (diff)
Remove DH-AES/DH-BLOWFISH mechanisms and misc cleanup
- AES and Blowfish mechanisms are deemed insecure and servers
  have removed support for them
- Remove attempts to retry since we only support one mech
- Handle SASL 3.2's new syntax for supported mechs
Diffstat (limited to 'src/common/server.c')
-rw-r--r--src/common/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/server.c b/src/common/server.c
index 926a9f43..e4c2e377 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -1727,6 +1727,7 @@ server_set_defaults (server *serv)
 	serv->chanmodes = g_strdup ("beI,k,l");
 	serv->nick_prefixes = g_strdup ("@%+");
 	serv->nick_modes = g_strdup ("ohv");
+	serv->sasl_mech = MECH_PLAIN;
 
 	server_set_encoding (serv, "UTF-8");