summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
diff options
context:
space:
mode:
authorJames Lu <james@overdrivenetworks.com>2020-12-30 09:21:32 -0800
committerGitHub <noreply@github.com>2020-12-30 18:21:32 +0100
commita9f89dbc645aafc68daa9fc8d589f55104b535c7 (patch)
treee602e7138db9c1bdd4bc35d51fef2d0b152023f0 /matterbridge.toml.sample
parent58ea1e07d2588f6b890e195aed02363fc8867120 (diff)
downloadmatterbridge-msglm-a9f89dbc645aafc68daa9fc8d589f55104b535c7.tar.gz
matterbridge-msglm-a9f89dbc645aafc68daa9fc8d589f55104b535c7.tar.bz2
matterbridge-msglm-a9f89dbc645aafc68daa9fc8d589f55104b535c7.zip
Add support for stateless bridging via draft/relaymsg (irc) (#1339)
* irc: add support for stateless bridging via draft/relaymsg As discussed at https://github.com/42wim/matterbridge/issues/667#issuecomment-634214165 * irc: handle the draft/relaymsg tag in spoofed messages too * Apply suggestions from code review Co-authored-by: Wim <wim@42.be> * Run gofmt on irc.go * Document relaymsg in matterbridge.toml.sample Co-authored-by: Wim <wim@42.be>
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r--matterbridge.toml.sample13
1 files changed, 13 insertions, 0 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample
index 9749080f..a92892b0 100644
--- a/matterbridge.toml.sample
+++ b/matterbridge.toml.sample
@@ -193,6 +193,19 @@ ShowTopicChange=false
#OPTIONAL (default 0)
JoinDelay=0
+#Use the optional RELAYMSG extension for username spoofing on IRC.
+#This requires an IRCd that supports the draft/relaymsg specification: currently this includes
+#Oragono 2.4.0+ and InspIRCd 3 with the m_relaymsg contrib module.
+#See https://github.com/42wim/matterbridge/issues/667#issuecomment-634214165 for more details.
+#Spoofed nicks will use the configured RemoteNickFormat, replacing reserved IRC characters
+#(!+%@&#$:'"?*,.) with a hyphen (-).
+#On most configurations, the RemoteNickFormat must include a separator character such as "/".
+#You should make sure that the settings here match your IRCd.
+#This option overrides ColorNicks.
+#OPTIONAL (default false)
+UseRelayMsg=false
+#RemoteNickFormat="{NICK}/{PROTOCOL}"
+
###################################################################
#XMPP section
###################################################################