fix string test

This commit is contained in:
shoopea 2020-04-07 10:16:02 +08:00
parent 402e5047fa
commit b083cdd9cd

View File

@ -41,7 +41,7 @@ func loadClients() error {
if cx.Config.InterceptPillage == nil {
cx.Config.InterceptPillage = true
}
if cx.Config.Wartime == nil {
if len(cx.Config.Wartime) == 0 {
cx.Config.Wartime = `🛡Defend`
}
}