mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-13 17:20:21 +00:00
Built-in SASL support and other CAP fixes
This commit is contained in:
@@ -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)? */
|
||||
|
||||
Reference in New Issue
Block a user