]> 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 6c6e175dd8e635aafdcd3634d77699b71e464cb3..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"
@@ -20,9 +23,22 @@ HTTP_AJAX_REQUEST_TIMEOUT = 30
 NETWORK_NAME = "FooNet"
 APP_TITLE = "FooNet Web IRC"
 
-# the following are only really useful for quakenet but still need to be set
+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"
 AUTH_SERVICE = "Q!TheQBot@CServe.quakenet.org"