]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - bin/optionsgen.py
Remove QuakeNet specifics
[irc/quakenet/qwebirc.git] / bin / optionsgen.py
index e288b8e3d80ec460c2d5ecfb91c901cd68a54f94..d8e85a6801de7932ef87fd3ffe14b78777ac47c3 100644 (file)
@@ -24,4 +24,10 @@ def get_options():
   if hasattr(config, "HELP_URL") and config.HELP_URL:
     options["helpURL"] = config.HELP_URL
 
+  if hasattr(config, "LOGO_URL") and config.LOGO_URL:
+    options["logoURL"] = config.LOGO_URL
+
+  if hasattr(config, "ACCOUNT_WHOIS_COMMAND") and config.ACCOUNT_WHOIS_COMMAND:
+    options["accountWhoisCommand"] = config.ACCOUNT_WHOIS_COMMAND
+
   return json.dumps(options)