Changeset 653 in code for trunk/downstream.go
- Timestamp:
- Oct 28, 2021, 9:29:34 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r652 r653 602 602 603 603 var resp []byte 604 if dc.saslServer == nil { 604 if msg.Params[0] == "*" { 605 dc.saslServer = nil 606 return ircError{&irc.Message{ 607 Command: irc.ERR_SASLABORTED, 608 Params: []string{"*", "SASL authentication aborted"}, 609 }} 610 } else if dc.saslServer == nil { 605 611 mech := strings.ToUpper(msg.Params[0]) 606 612 switch mech { … … 615 621 }} 616 622 } 617 } else if msg.Params[0] == "*" {618 dc.saslServer = nil619 return ircError{&irc.Message{620 Command: irc.ERR_SASLABORTED,621 Params: []string{"*", "SASL authentication aborted"},622 }}623 623 } else if msg.Params[0] == "+" { 624 624 resp = nil
Note:
See TracChangeset
for help on using the changeset viewer.