Changeset 369 in code for trunk/upstream.go


Ignore:
Timestamp:
Jul 22, 2020, 1:44:19 PM (5 years ago)
Author:
contact
Message:

Change unix:// to irc+unix://

When Unix socket support will be added for listeners, unix:// will be
ambiguous. It won't be clear whether to setup an IRC server, or some
other kind of server (e.g. identd).

unix:// is still recognized to avoid breaking existing DBs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r355 r369  
    143143                        return nil, fmt.Errorf("failed to dial %q: %v", addr, err)
    144144                }
    145         case "unix":
     145        case "irc+unix", "unix":
    146146                logger.Printf("connecting to Unix socket at path %q", u.Path)
    147147                netConn, err = dialer.Dial("unix", u.Path)
Note: See TracChangeset for help on using the changeset viewer.