mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
remove unused code
This commit is contained in:
parent
3692429689
commit
3e73e66adb
@ -16,10 +16,6 @@ func (v *Account) AsAccount() (protocol.Account, error) {
|
|||||||
return v, nil
|
return v, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewAccount() protocol.AsAccount {
|
|
||||||
return &Account{}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (v *ServerConfig) HasAccount(username, password string) bool {
|
func (v *ServerConfig) HasAccount(username, password string) bool {
|
||||||
if v.Accounts == nil {
|
if v.Accounts == nil {
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user