summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-10-16 19:14:26 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-10-16 19:14:26 +0200
commit82a8acf9ce1f74b67286843e9c257fdcd65e4d76 (patch)
treee6648bd5923257b91787ad7b9eaa4ba92da04fc2 /src/plugins/relay/relay.c
parent452229cf32a0fa67effc108a7c650dd9ad150731 (diff)
downloadweechat-82a8acf9ce1f74b67286843e9c257fdcd65e4d76.zip
relay: add support of IPv6, new option relay.network.ipv6, add support of "ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270)
Diffstat (limited to 'src/plugins/relay/relay.c')
-rw-r--r--src/plugins/relay/relay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/relay/relay.c b/src/plugins/relay/relay.c
index 23e7dfdb4..5fa70ae7a 100644
--- a/src/plugins/relay/relay.c
+++ b/src/plugins/relay/relay.c
@@ -22,6 +22,7 @@
*/
#include <stdlib.h>
+#include <string.h>
#include "../weechat-plugin.h"
#include "relay.h"
@@ -65,7 +66,7 @@ relay_protocol_search (const char *name)
for (i = 0; i < RELAY_NUM_PROTOCOLS; i++)
{
- if (weechat_strcasecmp (relay_protocol_string[i], name) == 0)
+ if (strcmp (relay_protocol_string[i], name) == 0)
return i;
}