Remove unused REGISTRATION_IS_COMPLETED in handleMessageUnregistered
downstreamConn.handleMessageUnregistered is only called when the user isn't registered.
This commit is contained in:
parent
ade59beb8c
commit
2f495e9768
@ -680,12 +680,6 @@ func (dc *downstreamConn) handleMessageUnregistered(msg *irc.Message) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if dc.registered {
|
|
||||||
return ircError{&irc.Message{
|
|
||||||
Command: "FAIL",
|
|
||||||
Params: []string{"BOUNCER", "REGISTRATION_IS_COMPLETED", "BIND", "Cannot bind bouncer network after registration"},
|
|
||||||
}}
|
|
||||||
}
|
|
||||||
if dc.user == nil {
|
if dc.user == nil {
|
||||||
return ircError{&irc.Message{
|
return ircError{&irc.Message{
|
||||||
Command: "FAIL",
|
Command: "FAIL",
|
||||||
|
Loading…
Reference in New Issue
Block a user