summary refs log tree commit diff stats
path: root/src/common/servlist.h
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-17 01:39:28 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-17 01:40:07 +0200
commita1a94ed31973c0d8a262c82c3cb3d10c760d0ad7 (patch)
treee709bd015bb009b58259f3aae5e31fb963fb6550 /src/common/servlist.h
parent096d0660e2cc707e13d7d55a9f3039418e21e883 (diff)
Add support for QuakeNet /CHALLENGEAUTH, remove legacy /AUTH
Diffstat (limited to 'src/common/servlist.h')
-rw-r--r--src/common/servlist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/servlist.h b/src/common/servlist.h
index 92100b9b..717e153c 100644
--- a/src/common/servlist.h
+++ b/src/common/servlist.h
@@ -75,6 +75,10 @@ extern GSList *network_list;
 #define LOGIN_AUTH				5
 #define LOGIN_SASL				6
 #define LOGIN_PASS				7
+#define LOGIN_CHALLENGEAUTH		8
+
+#define CHALLENGEAUTH_ALGO		"HMAC-SHA-256"
+#define CHALLENGEAUTH_NICK		"Q@CServe.quakenet.org"
 
 /* DEFAULT_CHARSET is already defined in wingdi.h */
 #define IRC_DEFAULT_CHARSET		"UTF-8 (Unicode)"