Merge fix for logging of mode changes by charly.
[jelmer/ctrlproxy.git] / config.example
1 ## Example RC file for ctrlproxy.
2 ## Read the documentation for more information.
3
4 [global]
5 ## Replication mechanism to use (some other IRC proxies call this backlog)
6 ## Possible values: 
7 ##      none: No backlog
8 ##      simple: Send backlog since the user last said something
9 ##      lastdisconnect: Send backlog since the users' last disconnect
10 ##      highlight: Send backlog since last connect, but only lines 
11 ##                         containing 'matches' (see below)
12 replication = none
13
14 ## Prepend all lines in replication with the time a line was received when replicating
15 ## possible settings: never|always|replication
16 report-time = never
17
18 ## What words to look for when remembering lines 
19 ## (in case "replication = highlight")
20 ## Seperate using semicolons
21 # matches=ctrlproxy;foobar
22
23 ## Port at which CtrlProxy should listen for new connections
24 ## Connections can be plain IRC connections or using the SOCKS protocol.
25 port=57000
26
27 ## Password for logging in to ctrlproxy
28 password=secret
29
30 ## Set "bind" to make ctrlproxy only listen on a specific IP address:
31 ## Example: bind=192.168.4.3
32
33 ## Override motd-file location
34 #motd-file = /tmp/my-motd
35
36 ## Whether or not to automatically connect to a network if a client requests
37 ## a connection. If disabled, it is only possible to connect to networks 
38 ## listed in the configuration
39 ## create-implicit = true
40
41 ## Save state to configuration file on exit
42 autosave = true
43
44 ## Networks to connect to on startup. Seperate by semicolons
45 autoconnect = admin
46 # autoconnect = admin;irc.oftc.net;irc.freenode.net;
47 #
48 ## Automatically set AWAY after a certain period of time
49 #auto-away-enable = true
50 #auto-away-message = I'm currently away, sorry!
51 #auto-away-time = 300 # in seconds
52
53 ## Irssi-style logging
54 logging = irssi
55
56 ## -------------- Networks -------------------
57
58 ## The Administration network 
59 ## This is a virtual network that provides a administration 
60 ## interface to ctrlproxy.
61 [admin]
62 virtual = admin
63
64 ## Example configuration for Freenode
65 [Freenode]
66 servers = irc://irc.freenode.net/
67 autojoin = #ctrlproxy
68
69 ## Somewhat more complex configuration for OFTC
70 [OFTC]
71 servers = irc://irc.ipv6.oftc.net/;ircs://irc.freenode.net/
72 autojoin = #bitlbee
73 ## Bind to a specific address locally:
74 # bind = 2001::dead:beef:cafe
75 ## Custom nick, different from default configuration
76 # nick = somenick
77 ## Fullname sent to server
78 # fullname=Somebody
79 ## Username sent to server (used in hostmask)
80 # username=myuser
81 ## How many seconds to wait between tries to reconnect
82 ## to the server.
83 # reconnect-interval=60
84
85 ## Interfacing with a local inetd-style program
86 [BitlBee]
87 program = /usr/sbin/bitlbee