Load themes as soon as possible to avoid FoUC
[KiwiIRC.git] / config.example.js
index bd1a3d535d92bf174f71a181aa4190b63b0efc71..3d80508925ad277b591c499109dc6d386d115976 100644 (file)
@@ -69,7 +69,15 @@ conf.max_server_conns = 0;
 * Default encoding to be used by the server
 * As specified and limited to iconv-lite library support.
 */
-conf.default_encoding = 'UTF-8';
+conf.default_encoding = 'utf8';
+
+
+/*
+* Default GECOS (real name) for IRC connections
+* %n will be replaced with the users nick
+*/
+//conf.default_gecos = 'Web IRC Client';
+
 
 /*
  * Client side plugins
@@ -82,11 +90,6 @@ conf.client_plugins = [
 
 
 
-// Enabled CAP extensions (See ENTER URL TO CAP INFO HERE PLS)
-conf.cap_options = [];
-
-
-
 
 // Directory to find the server modules
 conf.module_dir = "../server_modules/";
@@ -117,7 +120,7 @@ conf.reject_unauthorised_certificates = false;
 /*
  * Reverse proxy settings
  * Reverse proxies that have been reported to work can be found at:
- *     http://github.com/prawnsalad/KiwiIRC/wiki/Running-behind-a-proxy
+ *     https://kiwiirc.com/docs/installing/proxies
  */
 
 // Whitelisted HTTP proxies in CIDR format
@@ -158,17 +161,6 @@ conf.socks_proxy.user = null;
 conf.socks_proxy.pass = null;
 
 
-// Enabled transports for the browser to use
-conf.transports = [
-    "websocket",
-    "flashsocket",
-    "htmlfile",
-    "xhr-polling",
-    "jsonp-polling"
-];
-
-
-
 
 // Default quit message
 conf.quit_message = "http://www.kiwiirc.com/ - A hand-crafted IRC client";
@@ -188,10 +180,19 @@ conf.client = {
         scrollback: 250,
         show_joins_parts: true,
         show_timestamps: false,
-        mute_sounds: false
+        mute_sounds: false,
+        show_emoticons: true
     }
 };
 
+// List of themes available for the user to choose from
+conf.client_themes = [
+    'relaxed',
+    'mini',
+    'cli',
+    'basic'
+];
+
 
 // If set, the client may only connect to this 1 IRC server
 //conf.restrict_server = "irc.kiwiirc.com";