Also add an AUTHORS file.
--- /dev/null
+The following people have contributed code to qwebirc:
+
+Chris Porter <slug@quakenet.org>
+Thomas Sader <thommey@laxin.de>
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
elif config.WEBIRC_MODE == "webirc":
self.write("WEBIRC %s qwebirc %s %s" % (config.WEBIRC_PASSWORD, hostname, ip))
self.write("USER %s bleh %s :%s" % (ident, ip, realname))
+ elif config.WEBIRC_MODE == "cgiirc":
+ self.write("PASS %s_%s_%s" % (config.CGIIRC_STRING, ip, hostname))
+ self.write("USER %s bleh %s :%s" % (ident, ip, realname))
else:
if ip == hostname:
dispip = ip