From 1ea8b576b3146e39eb96fdb9167ac6eefb89de6c Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Tue, 29 Jan 2019 13:04:42 +0200 Subject: [PATCH] Add `webirc` key and commas to make it more understandable --- defaults/config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/defaults/config.js b/defaults/config.js index b5d7f7a2..059ca16a 100644 --- a/defaults/config.js +++ b/defaults/config.js @@ -297,10 +297,10 @@ module.exports = { // For example: // // ```json - // { + // webirc: { // "irc.example.net": "password1", - // "irc.example.org": "passw0rd" - // } + // "irc.example.org": "passw0rd", + // }, // ``` // // - **Advanced**: an object where keys are IRC hosts and values are functions @@ -308,14 +308,14 @@ module.exports = { // object to be directly passed to `irc-framework`. For example: // // ```js - // { + // webirc: { // "irc.example.net": (client, args, trusted) => ({ // username: "thelounge", // password: "password1", // address: args.ip, // hostname: `webirc/${args.hostname}` - // }) - // } + // }), + // }, // ``` // // This value is set to `null` to disable WEBIRC by default.