🐛修复启动的时候报错
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
coward 2024-06-13 14:57:57 +08:00
parent 6f249d20b0
commit 5df6ccefe2

View File

@ -30,7 +30,7 @@ func offlineMonitoring() {
}
// 没有启用离线监听时,即使客户端已经离线则也不执行
if *clientInfo.OfflineMonitoring != 1 || clientInfo.Email == "" {
if clientInfo.OfflineMonitoring == nil || *clientInfo.OfflineMonitoring != 1 || clientInfo.Email == "" {
continue
}