Changeset 754 in code for trunk/downstream.go
- Timestamp:
- Dec 7, 2021, 8:42:32 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r753 r754 928 928 Prefix: dc.srv.prefix(), 929 929 Command: irc.ERR_SASLFAIL, 930 Params: []string{ "*", "AUTHENTICATE requires the \"sasl\" capability to be enabled"},930 Params: []string{dc.nick, "AUTHENTICATE requires the \"sasl\" capability to be enabled"}, 931 931 }} 932 932 } … … 935 935 Prefix: dc.srv.prefix(), 936 936 Command: irc.ERR_SASLFAIL, 937 Params: []string{ "*", "Missing AUTHENTICATE argument"},937 Params: []string{dc.nick, "Missing AUTHENTICATE argument"}, 938 938 }} 939 939 } … … 942 942 Prefix: dc.srv.prefix(), 943 943 Command: irc.ERR_SASLABORTED, 944 Params: []string{ "*", "SASL authentication aborted"},944 Params: []string{dc.nick, "SASL authentication aborted"}, 945 945 }} 946 946 } … … 961 961 Prefix: dc.srv.prefix(), 962 962 Command: irc.ERR_SASLFAIL, 963 Params: []string{ "*", fmt.Sprintf("Unsupported SASL mechanism %q", mech)},963 Params: []string{dc.nick, fmt.Sprintf("Unsupported SASL mechanism %q", mech)}, 964 964 }} 965 965 } … … 974 974 Prefix: dc.srv.prefix(), 975 975 Command: irc.ERR_SASLFAIL, 976 Params: []string{ "*", "Invalid base64-encoded response"},976 Params: []string{dc.nick, "Invalid base64-encoded response"}, 977 977 }} 978 978 } … … 1230 1230 Prefix: dc.srv.prefix(), 1231 1231 Command: irc.ERR_SASLABORTED, 1232 Params: []string{ "*", "SASL authentication aborted"},1232 Params: []string{dc.nick, "SASL authentication aborted"}, 1233 1233 }) 1234 1234 } … … 1286 1286 return ircError{&irc.Message{ 1287 1287 Command: irc.ERR_PASSWDMISMATCH, 1288 Params: []string{ "*", fmt.Sprintf("Failed to connect to %q", dc.networkName)},1288 Params: []string{dc.nick, fmt.Sprintf("Failed to connect to %q", dc.networkName)}, 1289 1289 }} 1290 1290 }
Note:
See TracChangeset
for help on using the changeset viewer.