mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
feat(irc): add bouncer/znc support (#951)
* feat(irc): add initial bouncer support * feat(irc): add bouncer fields to irc update form * fix: make fields optional * feat(db): add migrations
This commit is contained in:
parent
28f0b878e1
commit
2677c16ff8
8 changed files with 79 additions and 29 deletions
|
@ -156,6 +156,10 @@ func (h *Handler) Run() error {
|
|||
|
||||
addr := fmt.Sprintf("%v:%d", h.network.Server, h.network.Port)
|
||||
|
||||
if h.network.UseBouncer && h.network.BouncerAddr != "" {
|
||||
addr = h.network.BouncerAddr
|
||||
}
|
||||
|
||||
subLogger := zstdlog.NewStdLoggerWithLevel(h.log.With().Logger(), zerolog.TraceLevel)
|
||||
|
||||
h.client = &ircevent.Connection{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue