changeset 904:20b0f1e3f64e release-3.0

doc: fix irccdctl.conf sample file, closes #2398
author David Demelier <markand@malikania.fr>
date Thu, 26 Sep 2019 21:05:00 +0200
parents 55dfcb4e875b
children cbb6d7804c02
files doc/examples/irccdctl.conf.sample man/irccdctl.conf.5
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/doc/examples/irccdctl.conf.sample	Sun Sep 22 21:11:59 2019 +0200
+++ b/doc/examples/irccdctl.conf.sample	Thu Sep 26 21:05:00 2019 +0200
@@ -17,9 +17,10 @@
 #
 # [connect]
 # type = "ip"
-# host = "localhost"            # (string) host to connect,
+# hostname = "localhost"        # (string) hostname to connect,
 # port = "1234"                 # (int) port number,
-# family = "ipv4" or "ipv6"     # (string) internet family: ipv6 or ipv4 (Optional, default: ipv4).
+# ipv4 = true                   # (bool) enable IPv4 (Optional, default: true),
+# ipv6 = true                   # (bool) enable IPv6 (Optional, default: true),
 #
 # For unix sockets:
 #
@@ -29,7 +30,7 @@
 
 [connect]
 type = "ip"
-host = "localhost"
+hostname = "localhost"
 port = "5980"
 
 # Section alias:
--- a/man/irccdctl.conf.5	Sun Sep 22 21:11:59 2019 +0200
+++ b/man/irccdctl.conf.5	Thu Sep 26 21:05:00 2019 +0200
@@ -150,7 +150,7 @@
 .Bd -literal
 [connect]
 type = "internet"
-host = "localhost"
+hostname = "localhost"
 port = "9999"
 .Ed
 Example for unix transports.