1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-10 01:40:44 +00:00

remove unused code

This commit is contained in:
Darien Raymond 2016-12-21 16:38:57 +01:00
parent 3692429689
commit 3e73e66adb
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -16,10 +16,6 @@ func (v *Account) AsAccount() (protocol.Account, error) {
return v, nil
}
func NewAccount() protocol.AsAccount {
return &Account{}
}
func (v *ServerConfig) HasAccount(username, password string) bool {
if v.Accounts == nil {
return false