4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-27 04:09:24 +00:00

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>
This commit is contained in:
Iris Morelle
2021-10-16 18:59:39 -03:00
committed by GitHub
parent 6dcc23ebb6
commit 61bab22dde
3 changed files with 19 additions and 2 deletions

View File

@ -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