Commit 70bc417
authored
fix: skip random challenge when no bot is found (#1210)
Return immediately when matchmaking cannot pick an opponent, avoiding the misleading 'Will challenge None' log line.
Validation: python3 -m py_compile lichess-bot/lib/matchmaking.py1 parent 3599e62 commit 70bc417
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
240 | 246 | | |
241 | | - | |
| 247 | + | |
242 | 248 | | |
243 | 249 | | |
244 | 250 | | |
| |||
0 commit comments