summary refs log tree commit diff stats
path: root/src/common/hexchat.h
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-25 16:17:21 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-25 16:17:21 +0200
commit4f4958878a74d97f9f43e8add855bc2ee22c1de4 (patch)
treebfc25758acbd3c95a9779526e305296c3d9fefa1 /src/common/hexchat.h
parent47310229a4ba96ee2aad166b7c561ec31ae20a70 (diff)
Built-in SASL support and other CAP fixes
Diffstat (limited to 'src/common/hexchat.h')
-rw-r--r--src/common/hexchat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/hexchat.h b/src/common/hexchat.h
index ff7a8bf9..9b5ebf04 100644
--- a/src/common/hexchat.h
+++ b/src/common/hexchat.h
@@ -485,6 +485,8 @@ typedef struct server
 	char hostname[128];				/* real ip number */
 	char servername[128];			/* what the server says is its name */
 	char password[86];
+	char sasluser[30];				/* this is just a buffer for network->user */
+	char saslpassword[86];			/* we could reuse password but then we couldn't guarantee NickServ doesn't register first */
 	char nick[NICKLEN];
 	char linebuf[2048];				/* RFC says 512 chars including \r\n */
 	char *last_away_reason;
@@ -547,6 +549,7 @@ typedef struct server
 	unsigned int have_whox:1;		/* have undernet's WHOX features */
 	unsigned int have_capab:1;		/* supports CAPAB (005 tells us) */
 	unsigned int have_idmsg:1;		/* freenode's IDENTIFY-MSG */
+	unsigned int have_sasl:1;		/* SASL capability */
 	unsigned int have_except:1;	/* ban exemptions +e */
 	unsigned int using_cp1255:1;	/* encoding is CP1255/WINDOWS-1255? */
 	unsigned int using_irc:1;		/* encoding is "IRC" (CP1252/UTF-8 hybrid)? */