summaryrefslogtreecommitdiff
path: root/src/common/weeconfig.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-01-04 22:48:40 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-01-04 22:48:40 +0000
commit2f5c9a8fd480c7ba0caa1a88ae832f6ea8edfd79 (patch)
tree32e539e3a68fdb0b46070852af09e756ccbed83b /src/common/weeconfig.h
parent96fc2c9aec8f290110f17069e37e773fcb679629 (diff)
downloadweechat-2f5c9a8fd480c7ba0caa1a88ae832f6ea8edfd79.zip
Fixed /away command, new [irc] config section, option "look_display_away" moved to "irc_display_away", added default away/part/quit messages in config file
Diffstat (limited to 'src/common/weeconfig.h')
-rw-r--r--src/common/weeconfig.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/common/weeconfig.h b/src/common/weeconfig.h
index e9b3d26b3..e92a6e61d 100644
--- a/src/common/weeconfig.h
+++ b/src/common/weeconfig.h
@@ -28,11 +28,12 @@
#define CONFIG_SECTION_COLORS 1
#define CONFIG_SECTION_HISTORY 2
#define CONFIG_SECTION_LOG 3
-#define CONFIG_SECTION_DCC 4
-#define CONFIG_SECTION_PROXY 5
-#define CONFIG_SECTION_ALIAS 6
-#define CONFIG_SECTION_SERVER 7
-#define CONFIG_NUMBER_SECTIONS 8
+#define CONFIG_SECTION_IRC 4
+#define CONFIG_SECTION_DCC 5
+#define CONFIG_SECTION_PROXY 6
+#define CONFIG_SECTION_ALIAS 7
+#define CONFIG_SECTION_SERVER 8
+#define CONFIG_NUMBER_SECTIONS 9
#define OPTION_TYPE_BOOLEAN 1 /* values: on/off */
#define OPTION_TYPE_INT 2 /* values: from min to max */
@@ -90,7 +91,6 @@ extern int cfg_look_nickmode;
extern int cfg_look_nickmode_empty;
extern char *cfg_look_no_nickname;
extern char *cfg_look_completor;
-extern int cfg_look_display_away;
extern int cfg_look_infobar;
extern char *cfg_look_infobar_timestamp;
extern int cfg_look_infobar_delay_highlight;
@@ -148,6 +148,11 @@ extern char *cfg_log_path;
extern char *cfg_log_timestamp;
extern int cfg_log_hide_nickserv_pwd;
+extern int cfg_irc_display_away;
+extern char *cfg_irc_default_msg_away;
+extern char *cfg_irc_default_msg_part;
+extern char *cfg_irc_default_msg_quit;
+
extern int cfg_dcc_auto_accept_files;
extern int cfg_dcc_auto_accept_chats;
extern int cfg_dcc_timeout;