check_next_talks(): only log room if it actually is set

This commit is contained in:
Franzi 2023-10-05 20:04:50 +02:00
parent c83e988a2d
commit 70f4ecac50

View file

@ -99,7 +99,9 @@ local function check_next_talks()
local min_start = time - 25 * 60
log("my room is '" .. current_room .. "'")
if current_room then
log("my room is '" .. current_room .. "'")
end
for idx = 1, #schedule do
local talk = schedule[idx]