working commit
This commit is contained in:
@@ -144,3 +144,9 @@ func (ref *Referer) CatalogEP() string {
|
||||
func (ref *Referer) Userinfo() (string, string) {
|
||||
return ref.user, ref.pass
|
||||
}
|
||||
|
||||
func (ref *Referer) SetUserinfo(user, pass string) {
|
||||
if user != "" && pass != "" {
|
||||
ref.user, ref.pass = user, pass
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user