]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - config.py.example
Patch from thommey which adds support for old CGIIRC hostname spoofing.
[irc/quakenet/qwebirc.git] / config.py.example
index 595e2c4f258d4e3a98f278d8bc4cbeeca31a8ce3..a4b46139dab3a623fd4fd5550f18782e1d85e11a 100644 (file)
@@ -6,6 +6,9 @@ MAXBUFLEN = 10000
 MAXSUBSCRIPTIONS = 3
 REALNAME = "http://moo.com/"
 MAXLINELEN = 600
+IDENT = "webchat"   # set this value to None if you'd like a hex representation of the IP
+
+BASE_URL = "http://foo.foo.org/"
 
 FEEDBACK_FROM = "moo@moo.com"
 FEEDBACK_TO = "moo@moo.com"
@@ -17,9 +20,26 @@ HTTP_AJAX_REQUEST_TIMEOUT = 30
 # optional default arguments:
 # ARGS = "-n -p 3989"
 
-# the following are only really useful for quakenet but still need to be set
+NETWORK_NAME = "FooNet"
+APP_TITLE = "FooNet Web IRC"
+
+DNS_TIMEOUT = 5
+
+# Possible types include "webirc" (CGIIRC style webirc config block),
+# "cgiirc" (old CGIIRC style serverpassword),
+# "hmac" (quakenet specific) and None (passes ip and host in realname)
+WEBIRC_MODE = "webirc"
+
+# webirc mode values
+WEBIRC_PASSWORD = "fish"
+# cgiirc mode values
+CGIIRC_STRING = "CGIIRC"
+# hmac mode values
 HMACKEY = "mrmoo"
 HMACTEMPORAL = 30
+
+# the following are only really useful for quakenet but still need to be set sadly
 AUTHGATEDOMAIN = "webchat_test"
 QTICKETKEY = "boo"
-QBOT = "Q@CServe.quakenet.org"
+AUTH_SERVICE = "Q!TheQBot@CServe.quakenet.org"
+AUTH_OK_REGEX = "^You are now logged in as [^ ]+\\.$"