summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrevor Bergeron <mal@sec.gd>2018-10-22 13:06:05 -0400
committerTrevor Bergeron <mal@sec.gd>2018-10-23 00:33:01 -0400
commit9121e5812c367debb2ef967c4715d54677b5acb3 (patch)
tree1c0f49e579a46466c117bcaee21404242bac4a56 /src
parent99ae73066cb13c4332564530cab5f2bc12c3e02b (diff)
downloadweechat-9121e5812c367debb2ef967c4715d54677b5acb3.zip
Fix regex in relay allowed_ips doc
Diffstat (limited to 'src')
-rw-r--r--src/plugins/relay/relay-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c
index 27fa0974c..1795f2ed0 100644
--- a/src/plugins/relay/relay-config.c
+++ b/src/plugins/relay/relay-config.c
@@ -767,7 +767,7 @@ relay_config_init ()
N_("POSIX extended regular expression with IPs allowed to use relay "
"(case insensitive, use \"(?-i)\" at beginning to make it case "
"sensitive), example: "
- "\"^(123.45.67.89|192.160.*)$\""),
+ "\"^(123\\.45\\.67\\.89|192\\.160\\..*)$\""),
NULL, 0, 0, "", NULL, 0,
NULL, NULL, NULL,
&relay_config_change_network_allowed_ips, NULL, NULL,