diff options
Diffstat (limited to 'core/data.go')
| -rw-r--r-- | core/data.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/data.go b/core/data.go index 9783c47..a96b56f 100644 --- a/core/data.go +++ b/core/data.go @@ -182,7 +182,7 @@ func decodeString(buf io.Reader, ptr *string) error { func ReadAddr(addr string) (string, string, error) { channel, host, ok := strings.Cut(addr, "@") if !ok { - return "", "", fmt.Errorf("invalid address") + return "", "", ErrInvalidAddress } return channel, host, nil |
