From 41a46526a1eb858e74de153e7da0e538c26617f0 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 8 Jun 2017 23:42:00 +0200 Subject: [PATCH] Add note about file permissions --- matterbridge.toml.sample | 1 + matterbridge.toml.simple | 13 +++---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample index b52c0242..acbc0a11 100644 --- a/matterbridge.toml.sample +++ b/matterbridge.toml.sample @@ -1,4 +1,5 @@ #This is configuration for matterbridge. +#WARNING: as this file contains credentials, be sure to set correct file permissions ################################################################### #IRC section ################################################################### diff --git a/matterbridge.toml.simple b/matterbridge.toml.simple index d142694c..b07dd5d2 100644 --- a/matterbridge.toml.simple +++ b/matterbridge.toml.simple @@ -1,3 +1,4 @@ +#WARNING: as this file contains credentials, be sure to set correct file permissions [irc] [irc.freenode] Server="irc.freenode.net:6667" @@ -16,22 +17,14 @@ [[gateway]] name="gateway1" enable=true - [[gateway.in]] + [[gateway.inout]] account="irc.freenode" channel="#testing" - [[gateway.out]] - account="irc.freenode" - channel="#testing" - - [[gateway.in]] + [[gateway.inout]] account="mattermost.work" channel="off-topic" - [[gateway.out]] - account="mattermost.work" - channel="off-topic" - #simpler config possible since v0.10.2 #[[gateway]] #name="gateway2"