From d2d60d47110f49c3f4bb34c539da87222b76b9d4 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 17 Sep 2010 14:47:36 +0200 Subject: 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". --- src/plugins/relay/relay-config.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/plugins/relay/relay-config.c') 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, -- cgit v1.2.3