修复test报错

This commit is contained in:
bjdgyc
2023-04-25 21:48:54 +08:00
parent b52b8598df
commit b81bc5c283
4 changed files with 21 additions and 18 deletions

View File

@@ -190,6 +190,7 @@ func (s *Session) NewConn() *ConnSession {
limit := LimitClient(username, false)
if !limit {
base.Warn("limit is full", username)
return nil
}
ip := AcquireIp(username, macAddr, uniqueMac)