Remove unused REGISTRATION_IS_COMPLETED in handleMessageUnregistered
downstreamConn.handleMessageUnregistered is only called when the user isn't registered. git-svn-id: file:///srv/svn/repo/suika/trunk@647 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
parent
02449246d7
commit
d98ecb5722
@ -680,12 +680,6 @@ func (dc *downstreamConn) handleMessageUnregistered(msg *irc.Message) error {
|
||||
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 {
|
||||
return ircError{&irc.Message{
|
||||
Command: "FAIL",
|
||||
|
Loading…
x
Reference in New Issue
Block a user