Merge fix for logging of mode changes by charly.
[jelmer/ctrlproxy.git] / config.default
1 ## Read the documentation for more information about the contents of this file.
2
3 [global]
4 ## Replication mechanism to use (some other IRC proxies call this backlog)
5 ## This determines what lines are repeated when a client 
6 ## connects to ctrlproxy.
7 ##
8 ## Possible values:
9 ##      none: No backlog
10 ##      simple: Send backlog since the user last said something
11 ##      lastdisconnect: Send backlog since the users' last disconnect
12 ##      highlight: Send backlog since last connect, but only lines 
13 ##                         containing 'matches' (see below)
14 replication = none
15
16 ## Prefix all lines in replication with the time a line was received
17 ## Possible values: 
18 ##   never: Never prefix with time
19 ##   always: Always prefix with time
20 ##   replication: Only prefix when sending replication/backlog
21 report-time = never
22
23 ## What words to look for when remembering lines 
24 ## (in case "replication = highlight")
25 ## Seperate using semicolons
26 # matches=ctrlproxy;foobar
27
28 ## Port at which CtrlProxy should listen for new connections
29 ## Connections can be plain IRC connections or using the SOCKS protocol.
30 ## This does not have to be set when using ctrlproxy through ctrlproxyd.
31 port=57000
32
33 ## Password for logging in to ctrlproxy
34 ## When using SOCKS any username will be accepted
35 password=
36
37 ## Set "bind" to make ctrlproxy only listen on a specific IP address:
38 #bind=192.168.4.3
39
40 ## Network that will be used when simply connecting to ctrlproxy 
41 ## without using SOCKS or the CONNECT command
42 default-network=admin
43
44 ## Override motd-file location
45 #motd-file = /tmp/my-motd
46
47 ## Save state to configuration file on exit
48 #autosave = true
49
50 ## Networks to connect to on startup. Seperate by semicolons
51 autoconnect = admin
52 ## autoconnect = admin;irc.oftc.net;irc.freenode.net;
53
54 ## Support for interfacing to ctrlproxy 
55 ## using /MSG ctrlproxy 
56 admin-user = ctrlproxy
57
58 ## Send ctrlproxy log messages to the admin channel
59 admin-log = true
60
61 ## Whether to remember passwords sent to NickServ
62 #learn-nickserv = true
63
64 ## Whether to update a networks name based on the NETWORK= line sent when 
65 ## connected to it
66 #learn-network-name = true
67 #
68 ## Automatically set AWAY after a certain period of time
69 #auto-away-enable = true
70 #auto-away-message = I'm currently away, sorry!
71 #auto-away-time = 300 # in seconds
72 #auto-away-nick = jelmer|away
73
74 ## Logging
75 #logging = none|irssi|custom
76 #logfile = /home/jelmer/tmp/ctrlproxy
77
78 ## -------------- Networks -------------------
79
80 ## The Administration network 
81 ## This is a virtual network that provides a administration 
82 ## interface to ctrlproxy.
83 [admin]
84 virtual = admin
85
86 ## Example configuration for Freenode
87 # [Freenode]
88 # servers = irc://irc.freenode.net/
89 # autojoin = #ctrlproxy
90
91 ## Somewhat more complex configuration for OFTC
92 # [OFTC]
93 # servers = irc://irc.ipv6.oftc.net/;ircs://irc.freenode.net/
94 # autojoin = #bitlbee
95 ## Bind to a specific address locally:
96 # bind = 2001::dead:beef:cafe
97 ## Custom nick, different from default configuration
98 # nick = somenick
99 ## Fullname sent to server
100 # fullname=Somebody
101 ## Username sent to server (used in hostmask)
102 # username=myuser
103 ## How many seconds to wait between tries to reconnect
104 ## to the server.
105 # reconnect-interval=60
106
107 ## Interfacing with a local inetd-style program
108 [BitlBee]
109 program = /usr/sbin/bitlbee