diff options
Diffstat (limited to 'vchat-config.h')
-rwxr-xr-x | vchat-config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vchat-config.h b/vchat-config.h index 34866b1..3511c68 100755 --- a/vchat-config.h +++ b/vchat-config.h | |||
@@ -23,7 +23,6 @@ | |||
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | /* configuration array with structure as defined in vchat.h */ | 25 | /* configuration array with structure as defined in vchat.h */ |
26 | extern unsigned int usessl; | ||
27 | extern unsigned int ignssl; | 26 | extern unsigned int ignssl; |
28 | extern unsigned int usetime; | 27 | extern unsigned int usetime; |
29 | extern unsigned int hscroll; | 28 | extern unsigned int hscroll; |
@@ -41,7 +40,7 @@ static volatile configoption configoptions[] = { | |||
41 | {CF_FORMFILE, CO_STR, "formatfile", "~/.vchat/formats", NULL, { NULL } }, | 40 | {CF_FORMFILE, CO_STR, "formatfile", "~/.vchat/formats", NULL, { NULL } }, |
42 | {CF_LOGINSCRIPT, CO_STR, "loginscript","~/.vchat/loginscript", NULL, { NULL } }, | 41 | {CF_LOGINSCRIPT, CO_STR, "loginscript","~/.vchat/loginscript", NULL, { NULL } }, |
43 | {CF_ENCODING, CO_STR, "encoding", NULL, NULL, { .pstr = &encoding }}, | 42 | {CF_ENCODING, CO_STR, "encoding", NULL, NULL, { .pstr = &encoding }}, |
44 | {CF_USESSL, CO_INT, "usessl", (char *) 1, (char *)-1, { .pint = &usessl } }, | 43 | {CF_USESSL, CO_INT, "usessl", (char *) 1, (char *)-1, { NULL } }, |
45 | {CF_IGNSSL, CO_INT, "ignssl", (char *) 0, (char *)-1, { .pint = &ignssl } }, | 44 | {CF_IGNSSL, CO_INT, "ignssl", (char *) 0, (char *)-1, { .pint = &ignssl } }, |
46 | {CF_USECERT, CO_INT, "usecert", (char *) 1, (char *)-1, { NULL } }, | 45 | {CF_USECERT, CO_INT, "usecert", (char *) 1, (char *)-1, { NULL } }, |
47 | {CF_USETIME, CO_INT, "usetime", (char *) 1, (char *)-1, { .pint = &usetime } }, | 46 | {CF_USETIME, CO_INT, "usetime", (char *) 1, (char *)-1, { .pint = &usetime } }, |
@@ -100,8 +99,9 @@ static formatstring formatstrings[] = { | |||
100 | FE( FS_CONSOLETIME, "[%H:%M] "), | 99 | FE( FS_CONSOLETIME, "[%H:%M] "), |
101 | FE( FS_TOPICW, "[ Channel %d: %s"), | 100 | FE( FS_TOPICW, "[ Channel %d: %s"), |
102 | FE( FS_NOTOPICW, "[ Channel %d has no topic"), | 101 | FE( FS_NOTOPICW, "[ Channel %d has no topic"), |
103 | FE( FS_CONSOLE, "%s@%s:%d, use .h to get help "), | 102 | FE( FS_CONSOLE, "%s@%s:%s, use .h to get help "), |
104 | FE( FS_CONNECTED, "\0012# Connected to '\0016%s\0012', port \0016%d\0012 ..."), | 103 | FE( FS_CONNECTED, "\0012# Connected to '\0016%s\0012', port \0016%s\0012 ..."), |
104 | FE( FS_CANTCONNECT, "\0012# Can not connect to '\0016%s\0012', port \0016%s\0012 ..."), | ||
105 | FE( FS_TOPIC, "\0012# Channel \0016%d\0012 topic is: '\0010%s\0012'"), | 105 | FE( FS_TOPIC, "\0012# Channel \0016%d\0012 topic is: '\0010%s\0012'"), |
106 | FE( FS_NOTOPIC, "\0012# Channel \0016%d\0012 has no topic"), | 106 | FE( FS_NOTOPIC, "\0012# Channel \0016%d\0012 has no topic"), |
107 | FE( FS_CHGTOPIC, "\0012# \0016%s\0012 changes topic to: '\0010%s\0012'"), | 107 | FE( FS_CHGTOPIC, "\0012# \0016%s\0012 changes topic to: '\0010%s\0012'"), |