# both!)
# If in doubt always re-compile and restart.
+# The following line is required, don't remove it!
+from qwebirc.config_options import *
+
# IRC OPTIONS
# ---------------------------------------------------------------------
#
REALNAME = "http://moo.com/"
# OPTION: IDENT
-# ident to use on irc, set to the literal value None to use a
-# hexadecimal version of the IP address, e.g.:
-# IDENT = None
+# 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 = HEX_IDENT
+# - the literal value IDENT_NICKNAME, this will use the users
+# supplied nickname as their ident.
IDENT = "webchat"
# OPTION: WEBIRC_MODE
-# This option controls how the IP/hostname of the connecting # browser will be sent to IRC.
+# This option controls how the IP/hostname of the connecting
+# browser will be sent to IRC.
#
# Possible values include:
# - webirc
# ---------------------------------------------------------------------
#
# OPTION: BASE_URL
-# URL that this qwebirc instance will be available at
+# 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
# OPTION: MAXBUFLEN
# Maximum client AJAX recieve buffer size (in bytes), if this
# buffer size is exceeded then the client will be disconnected.
-MAXBUFLEN = 10000
+# This value should match the client sendq size in your ircd's
+# configuration.
+MAXBUFLEN = 100000
# OPTION: MAXSUBSCRIPTIONS
# Maximum amount of 'subscriptions' to a specific AJAX channel,
# OPTION: MAXLINELEN
# If the client sends a line greater than MAXLINELEN (in bytes)
# then they will be disconnected.
+# Note that IRC normally silently drops messages >=512 bytes.
MAXLINELEN = 600
# OPTION: DNS_TIMEOUT