## Read the documentation for more information about the contents of this file.

[global]
## Replication mechanism to use (some other IRC proxies call this backlog)
## This determines what lines are repeated when a client 
## connects to ctrlproxy.
##
## Possible values:
## 	none: No backlog
## 	simple: Send backlog since the user last said something
## 	lastdisconnect: Send backlog since the users' last disconnect
## 	highlight: Send backlog since last connect, but only lines 
## 			   containing 'matches' (see below)
replication = none

## Prefix all lines in replication with the time a line was received
## Possible values: 
##   never: Never prefix with time
##   always: Always prefix with time
##   replication: Only prefix when sending replication/backlog
report-time = never

## What words to look for when remembering lines 
## (in case "replication = highlight")
## Seperate using semicolons
# matches=ctrlproxy;foobar

## Port at which CtrlProxy should listen for new connections
## Connections can be plain IRC connections or using the SOCKS protocol.
## This does not have to be set when using ctrlproxy through ctrlproxyd.
port=57000

## Password for logging in to ctrlproxy
## When using SOCKS any username will be accepted
password=

## Set "bind" to make ctrlproxy only listen on a specific IP address:
#bind=192.168.4.3

## Network that will be used when simply connecting to ctrlproxy 
## without using SOCKS or the CONNECT command
default-network=admin

## Override motd-file location
#motd-file = /tmp/my-motd

## Save state to configuration file on exit
#autosave = true

## Networks to connect to on startup. Seperate by semicolons
autoconnect = admin
## autoconnect = admin;irc.oftc.net;irc.freenode.net;

## Support for interfacing to ctrlproxy 
## using /MSG ctrlproxy 
admin-user = ctrlproxy

## Send ctrlproxy log messages to the admin channel
admin-log = true

## Whether to remember passwords sent to NickServ
#learn-nickserv = true

## Whether to update a networks name based on the NETWORK= line sent when 
## connected to it
#learn-network-name = true
#
## Automatically set AWAY after a certain period of time
#auto-away-enable = true
#auto-away-message = I'm currently away, sorry!
#auto-away-time = 300 # in seconds
#auto-away-nick = jelmer|away

## Logging
#logging = none|irssi|custom
#logfile = /home/jelmer/tmp/ctrlproxy

## -------------- Networks -------------------

## The Administration network 
## This is a virtual network that provides a administration 
## interface to ctrlproxy.
[admin]
virtual = admin

## Example configuration for Freenode
# [Freenode]
# servers = irc://irc.freenode.net/
# autojoin = #ctrlproxy

## Somewhat more complex configuration for OFTC
# [OFTC]
# servers = irc://irc.ipv6.oftc.net/;ircs://irc.freenode.net/
# autojoin = #bitlbee
## Bind to a specific address locally:
# bind = 2001::dead:beef:cafe
## Custom nick, different from default configuration
# nick = somenick
## Fullname sent to server
# fullname=Somebody
## Username sent to server (used in hostmask)
# username=myuser
## How many seconds to wait between tries to reconnect
## to the server.
# reconnect-interval=60

## Interfacing with a local inetd-style program
[BitlBee]
program = /usr/sbin/bitlbee
