// WARNING
//
// Do NOT edit this file while ZNC is running!
// Use webadmin or *controlpanel instead.
//
// Buf if you feel risky, you might want to read help on /znc saveconfig and /znc rehash.
// Also check http://en.znc.in/wiki/Configuration

AnonIPLimit = 10
ConnectDelay = 5
LoadModule = webadmin
LoadModule = fail2ban
LoadModule = lastseen
LoadModule = partyline
MaxBufferSize = 500
Motd = Connected to ZNC
PidFile = /var/run/znc/znc.pid
ProtectWebSessions = true
SSLCertFile = /usr/lib/znc/znc.pem
ServerThrottle = 30
Skin = _default_
StatusPrefix = *
Version = 1.0

<Listener listener0>
	AllowIRC = true
	AllowWeb = false
	IPv4 = true
	IPv6 = true
	Port = 6697
	SSL = true
</Listener>

<Listener listener1>
	AllowIRC = false
	AllowWeb = true
	IPv4 = true
	IPv6 = true
	Port = 6643
	SSL = false
</Listener>

<User {{ irc_admin_username }}>
	Admin = true
	Allow = *
	AltNick = {{ irc_altnick }}
	AppendTimestamp = false
	AutoClearChanBuffer = true
	Buffer = 5000
	ChanModes = +stn
	DenyLoadMod = false
	DenySetBindHost = false
	Ident = {{ irc_ident }}
	JoinTries = 10
	LoadModule = controlpanel
	LoadModule = perform
	LoadModule = block_motd
	LoadModule = clientnotify
	MaxNetworks = 5
	MultiClients = true
	Nick = {{ irc_nick }}
	PrependTimestamp = true
	QuitMsg = {{ irc_quitmsg }}
	RealName = {{ irc_realname }}
	TimestampFormat = [%H:%M:%S]
	Timezone = {{ irc_timezone }}

// BEGIN ANSIBLE MANAGED BLOCK
// END ANSIBLE MANAGED BLOCK

	<Network freenode>
		BindHost = 0.0.0.0
		FloodBurst = 4
		FloodRate = 1.00
		IRCConnectEnabled = true
		LoadModule = kickrejoin
		LoadModule = nickserv
		LoadModule = savebuff
		Server = chat.freenode.net +6697
	</Network>
</User>