]> 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 42dbe68bc675d6500d629b0fbe9cc0fd4296831f..a4b46139dab3a623fd4fd5550f18782e1d85e11a 100644 (file)
@@ -8,6 +8,8 @@ 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"
 FEEDBACK_SMTP_HOST = "127.0.0.1"
@@ -21,13 +23,18 @@ HTTP_AJAX_REQUEST_TIMEOUT = 30
 NETWORK_NAME = "FooNet"
 APP_TITLE = "FooNet Web IRC"
 
-# Possible types include "cgiirc", "hmac" and None
-WEBIRC_MODE = "cgiirc"
+DNS_TIMEOUT = 5
 
-# CGIIRC values
-CGIIRC_PASSWORD = "fish"
+# 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"
 
-# HMAC values
+# webirc mode values
+WEBIRC_PASSWORD = "fish"
+# cgiirc mode values
+CGIIRC_STRING = "CGIIRC"
+# hmac mode values
 HMACKEY = "mrmoo"
 HMACTEMPORAL = 30