add return

This commit is contained in:
zu1k
2020-08-14 11:08:06 +08:00
parent ce1e4938d2
commit bc8002e656

View File

@@ -54,6 +54,7 @@ func (ss Shadowsocks) ToSurge() string {
if ss.PluginOpts["host"].(string) != "" {
text += ", obfs-host=" + ss.PluginOpts["host"].(string)
}
return text
} else {
return fmt.Sprintf("%s = ss, %s, %d, encrypt-method=%s, password=%s, udp-relay=false",
ss.Name, ss.Server, ss.Port, ss.Cipher, ss.Password)