summaryrefslogtreecommitdiff
path: root/src/core/server-connect-rec.h
blob: eea6739b8602bb10daa4e727b26994a7b51848cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* SERVER_CONNECT_REC definition, used for inheritance */

int type; /* module_get_uniq_id("SERVER CONNECT", 0) */
int chat_type; /* chat_protocol_lookup(xx) */

/* if we're connecting via proxy, or just NULLs */
char *proxy;
int proxy_port;
char *proxy_string;

char *address;
int port;
char *chatnet;

IPADDR *own_ip;

char *password;
char *nick;
char *username;
char *realname;

/* when reconnecting, the old server status */
int reconnection:1; /* we're trying to reconnect */
char *channels;
char *away_reason;
char *usermode;