🐛 Fix a bug.

This commit is contained in:
李寻欢
2023-12-07 23:27:07 +08:00
parent 8b7487b42b
commit b49247bf89
3 changed files with 7 additions and 8 deletions

View File

@@ -18,12 +18,9 @@ func handleNewUserJoin(m model.Message) {
if count < 1 {
return
}
if count < 1 {
return
}
// 读取欢迎新成员配置
conf, ok := config.Conf.Resource["welcomeNew"]
conf, ok := config.Conf.Resource["welcome-new"]
if !ok {
// 未配置,跳过
return