+
+# OPTION: IDENT
+# ident to use on irc, possible values include:
+# - a string, e.g. IDENT = "webchat"
+# - the literal value IDENT_HEX, this will set the ident to the
+# a hexadecimal version of the users IP address, e.g
+# IDENT = IDENT_HEX
+# - the literal value IDENT_NICKNAME, this will use the users
+# supplied nickname as their ident.
+IDENT = "webchat"
+
+# OPTION: OUTGOING_IP
+# The IP address to bind to when connecting to the IRC server.
+#
+# This will not change the IP address that qwebirc listens on.
+# You will need to call run.py with the --ip/-i option if you
+# want that.
+#OUTGOING_IP = "127.0.0.1"
+
+# OPTION: WEBIRC_MODE
+# This option controls how the IP/hostname of the connecting
+# browser will be sent to IRC.
+#
+# Possible values include:
+# - the string "webirc", i.e. WEBIRC_MODE = "webirc"
+# Use WEBIRC type blocks, with a server configuration of
+# the following style:
+#
+# cgiirc {
+# type webirc;
+# hostname <qwebirc's ip address>;
+# password <password>;
+# };
+#
+# Remember to set the WEBIRC_PASSWORD value to be the
+# same as <password>.
+# - the string "cgiirc", i.e. WEBIRC_MODE = "cgiirc"
+# old style CGIIRC command, set CGIIRC_STRING to be the
+# command used to set the ip/hostname, and set
+# WEBIRC_PASSWORD to be the password used in the server's
+# configuration file.
+# - the literal value None, i.e. WEBIRC_MODE = None
+# Send the IP and hostname in the realname field, overrides
+# the REALNAME option.
+WEBIRC_MODE = None
+
+# OPTION: WEBIRC_PASSWORD
+# Used for WEBIRC_MODE webirc and cgiirc, see WEBIRC_MODE
+# option documentation.
+#WEBIRC_PASSWORD = "fish"
+
+# OPTION: CGIIRC_STRING
+# Command sent to IRC server in for cgiirc WEBIRC_MODE.
+# See WEBIRC_MODE option documentation.
+#CGIIRC_STRING = "CGIIRC"
+
+# UI OPTIONS
+# ---------------------------------------------------------------------
+#
+# OPTION: BASE_URL
+# URL that this qwebirc instance will be available at, add the
+# port number if your instance runs on a port other than 80.
+BASE_URL = "http://foo.foo.org/"
+
+# OPTION: NETWORK_NAME
+# The name of your IRC network, displayed throughout the
+# application.
+NETWORK_NAME = "FooNet"
+
+# OPTION: ANALYTICS_HTML
+# If you have an analytics service, you can paste the HTML
+# between the triple quotes.
+#ANALYTICS_HTML = """
+#"""
+
+# OPTION: APP_TITLE
+# The title of the application in the web browser.
+APP_TITLE = NETWORK_NAME + " Web IRC"
+
+# NICKNAME VALIDATION OPTIONS
+# ---------------------------------------------------------------------
+#
+# OPTION: NICKNAME_VALIDATE
+# If True then user nicknames will be validated according to
+# the configuration below, otherwise they will be passed
+# directly to the ircd.
+NICKNAME_VALIDATE = True
+
+# OPTION: NICKNAME_VALID_FIRST_CHAR
+# A string containing valid characters for the first letter of
+# a nickname.
+# Default is as in RFC1459.
+import string
+NICKNAME_VALID_FIRST_CHAR = string.letters + "_[]{}`^\\|"
+
+# OPTION: NICKNAME_VALID_SUBSEQUENT_CHAR
+# A string containing valid characters for the rest of the
+# nickname.
+NICKNAME_VALID_SUBSEQUENT_CHARS = NICKNAME_VALID_FIRST_CHAR + string.digits + "-"
+
+# OPTION: NICKNAME_MINIMUM_LENGTH
+# Minimum characters permitted in a nickname on your network.
+NICKNAME_MINIMUM_LENGTH = 2
+
+# OPTION: NICKNAME_MAXIMUM_LENGTH
+# Maximum characters permitted in a nickname on your network.
+# Ideally we'd extract this from the ircd, but we need to know
+# before we connect.
+NICKNAME_MAXIMUM_LENGTH = 15
+
+# FEEDBACK OPTIONS
+# ---------------------------------------------------------------------
+#
+# These options control the feedback module, which allows users to
+# send feedback directly from qwebirc (via email).
+#
+# OPTION: FEEDBACK_FROM
+# E-mail address that feedback will originate from.