Changeset 590 in code for trunk/downstream.go
- Timestamp:
- Sep 19, 2021, 2:50:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r586 r590 186 186 network *network // can be nil 187 187 188 nego ciatingCaps bool188 negotiatingCaps bool 189 189 capVersion int 190 190 supportedCaps map[string]string … … 718 718 return newUnknownCommandError(msg.Command) 719 719 } 720 if dc.rawUsername != "" && dc.nick != "" && !dc.nego ciatingCaps {720 if dc.rawUsername != "" && dc.nick != "" && !dc.negotiatingCaps { 721 721 return dc.register() 722 722 } … … 771 771 772 772 if !dc.registered { 773 dc.nego ciatingCaps = true773 dc.negotiatingCaps = true 774 774 } 775 775 case "LIST": … … 833 833 Params: []string{replyTo, reply, args[0]}, 834 834 }) 835 836 if !dc.registered { 837 dc.negotiatingCaps = true 838 } 835 839 case "END": 836 dc.nego ciatingCaps = false840 dc.negotiatingCaps = false 837 841 default: 838 842 return ircError{&irc.Message{
Note:
See TracChangeset
for help on using the changeset viewer.