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"