summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-config.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-02-23 08:33:38 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-02-23 08:33:38 +0100
commitc17d3e155ca4b339de9b863087422b943bf1410b (patch)
tree387b6ed8ad0a7ff8f280ca58c8cd35f26d650d45 /src/plugins/relay/relay-config.c
parent6394a3d1e1e6b3f8025141edc5e2de392af86c93 (diff)
downloadweechat-c17d3e155ca4b339de9b863087422b943bf1410b.zip
relay: add support of multiple servers on same port for irc protocol (the client must send the server in the "PASS" command)
Diffstat (limited to 'src/plugins/relay/relay-config.c')
-rw-r--r--src/plugins/relay/relay-config.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c
index d6092d279..7ad6d4f73 100644
--- a/src/plugins/relay/relay-config.c
+++ b/src/plugins/relay/relay-config.c
@@ -397,14 +397,6 @@ relay_config_create_option_port (void *data,
RELAY_PLUGIN_NAME, protocol);
rc = WEECHAT_CONFIG_OPTION_SET_ERROR;
}
- else if ((protocol_number == RELAY_PROTOCOL_IRC) && !protocol_args)
- {
- weechat_printf (NULL, _("%s%s: error: name is not required for "
- "protocol \"%s\""),
- weechat_prefix ("error"),
- RELAY_PLUGIN_NAME, protocol);
- rc = WEECHAT_CONFIG_OPTION_SET_ERROR;
- }
}
if (rc != WEECHAT_CONFIG_OPTION_SET_ERROR)