From 61bab22dde8e3abd2e1cbeb57d1f7a8d28ef95f8 Mon Sep 17 00:00:00 2001 From: Iris Morelle Date: Sat, 16 Oct 2021 18:59:39 -0300 Subject: 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 --- bridge/config/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bridge/config') 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 -- cgit v1.2.3