comparison doc/examples/irccd.conf.sample @ 779:317c66a131be

Irccd: merge [identity] with [server], closes #905 @2h While here, also add some tests for server_util, #779
author David Demelier <markand@malikania.fr>
date Thu, 01 Nov 2018 10:34:21 +0100
parents bd12709b1975
children 54496ac51649
comparison
equal deleted inserted replaced
778:3ff081c72250 779:317c66a131be
6 # Load plugins by name or by paths. 6 # Load plugins by name or by paths.
7 # 7 #
8 # [plugins] 8 # [plugins]
9 # abc = "" # This will search for abc 9 # abc = "" # This will search for abc
10 # ask = /tmp/ask.js # This use /tmp/ask.js to load the plugin 10 # ask = /tmp/ask.js # This use /tmp/ask.js to load the plugin
11
12 # Section identities:
13 # This describe identities, you can add any number you want they are used with servers so you can reuse an
14 # identity for one or more servers if you want.
15 #
16 # [identity]
17 # name = "id" # (id) the identity unique id,
18 # nickname = "foo" # (string) the nickname (Optional, default: irccd),
19 # username = "bar" # (string) the realname (Optional, default: IRC Client daemon),
20 # realname = "Jean" # (string) the username name (Optional, default: irccd),
21 # ctcp-version = "irccd" # (string) what version to respond to CTCP VERSION (Optional, default: IRC Client Daemon),
22
23 [identity]
24 name = "default"
25 nickname = "superbot"
26 username = "superbot"
27 realname = "Superbot"
28 11
29 # Section transport: 12 # Section transport:
30 # You can use transport to wait for any input you want. Unix and internet sockets are supported. Unix are used 13 # You can use transport to wait for any input you want. Unix and internet sockets are supported. Unix are used
31 # for file based socket while internet bind to standard address plus a specific port. 14 # for file based socket while internet bind to standard address plus a specific port.
32 # 15 #
57 # 40 #
58 # [server] 41 # [server]
59 # name = "id" # (id) the unique id, 42 # name = "id" # (id) the unique id,
60 # host = "chat.foo.com" # (string) the server address, 43 # host = "chat.foo.com" # (string) the server address,
61 # port = "4321" # (int) the server port (Optional, default: 6667), 44 # port = "4321" # (int) the server port (Optional, default: 6667),
62 # identity = "default" # (string) an identity to use (Optional, default: irccd's default), 45 # nickname = "foo" # (string) the nickname (Optional, default: irccd),
46 # username = "bar" # (string) the realname (Optional, default: IRC Client daemon),
47 # realname = "Jean" # (string) the username name (Optional, default: irccd),
48 # ctcp-version = "irccd" # (string) what version to respond to CTCP VERSION (Optional, default: IRC Client Daemon),
63 # password = "secret" # (string) an optional password (Optional, default: none), 49 # password = "secret" # (string) an optional password (Optional, default: none),
64 # auto-rejoin = false # (bool) auto rejoin a channel after being kicked (Optional, default: false), 50 # auto-rejoin = false # (bool) auto rejoin a channel after being kicked (Optional, default: false),
65 # join-invite = false # (bool) join channels upon invitation (Optional, default: false), 51 # join-invite = false # (bool) join channels upon invitation (Optional, default: false),
66 # channels = "" # (list) list of channels to auto join, (Optional, default: empty), 52 # channels = "" # (list) list of channels to auto join, (Optional, default: empty),
67 # command-char = "!" # (string) the prefix for invoking special commands (Optional, default: !), 53 # command-char = "!" # (string) the prefix for invoking special commands (Optional, default: !),