diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-09-17 14:47:36 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-09-17 14:47:36 +0200 |
commit | d2d60d47110f49c3f4bb34c539da87222b76b9d4 (patch) | |
tree | 8943fca087668f8883ab2d77bddc05cb40f6a88d /src/plugins/relay/relay-config.c | |
parent | 26a99c2912a30e994117bae5e042e60b2c229a26 (diff) | |
download | weechat-d2d60d47110f49c3f4bb34c539da87222b76b9d4.zip |
Beta version of IRC proxy feature in Relay plugin
Major changes in Relay plugin:
- IRC proxy feature (beta),
- raw buffer.
Changes in IRC plugin:
- add tags for messages sent to servers,
- add signal "irc_input_send" to simulate text/command on an IRC buffer,
- add prefix in infolist "irc_nick".
Diffstat (limited to 'src/plugins/relay/relay-config.c')
-rw-r--r-- | src/plugins/relay/relay-config.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c index d5b3f940d..1e99113ee 100644 --- a/src/plugins/relay/relay-config.c +++ b/src/plugins/relay/relay-config.c @@ -38,6 +38,7 @@ struct t_config_section *relay_config_section_port = NULL; /* relay config, look section */ struct t_config_option *relay_config_look_auto_open_buffer; +struct t_config_option *relay_config_look_raw_messages; /* relay config, color section */ @@ -257,6 +258,12 @@ relay_config_init () "auto_open_buffer", "boolean", N_("auto open relay buffer when a new client is connecting"), NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL); + relay_config_look_raw_messages = weechat_config_new_option ( + relay_config_file, ptr_section, + "raw_messages", "integer", + N_("number of raw messages to save in memory when raw data buffer is " + "closed (messages will be displayed when opening raw data buffer)"), + NULL, 0, 65535, "256", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL); ptr_section = weechat_config_new_section (relay_config_file, "color", 0, 0, |