summaryrefslogtreecommitdiffstats
path: root/bridge/config/config.go
diff options
context:
space:
mode:
authorIris Morelle <shadowm@wesnoth.org>2021-10-16 18:59:39 -0300
committerGitHub <noreply@github.com>2021-10-16 23:59:39 +0200
commit61bab22dde8e3abd2e1cbeb57d1f7a8d28ef95f8 (patch)
treef3540819575e7e37385cf427563bbd4591e8bffb /bridge/config/config.go
parent6dcc23ebb6db970994cc26ad805b7d30a037ca14 (diff)
downloadmatterbridge-msglm-61bab22dde8e3abd2e1cbeb57d1f7a8d28ef95f8.tar.gz
matterbridge-msglm-61bab22dde8e3abd2e1cbeb57d1f7a8d28ef95f8.tar.bz2
matterbridge-msglm-61bab22dde8e3abd2e1cbeb57d1f7a8d28ef95f8.zip
Add UserName and RealName options for IRC (#1590)
This allows setting custom values for the IRC username/ident and real name (gecos) fields at server registration time with gIRC. Co-authored-by: Wim <wim@42.be>
Diffstat (limited to 'bridge/config/config.go')
-rw-r--r--bridge/config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index a6e3c546..7b7c2f2e 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -138,6 +138,7 @@ type Protocol struct {
QuoteDisable bool // telegram
QuoteFormat string // telegram
QuoteLengthLimit int // telegram
+ RealName string // IRC
RejoinDelay int // IRC
ReplaceMessages [][]string // all protocols
ReplaceNicks [][]string // all protocols
@@ -169,6 +170,7 @@ type Protocol struct {
UseFirstName bool // telegram
UseUserName bool // discord, matrix
UseInsecureURL bool // telegram
+ UserName string // IRC
VerboseJoinPart bool // IRC
WebhookBindAddress string // mattermost, slack
WebhookURL string // mattermost, slack