Skip to content

Commit

Permalink
New room listing
Browse files Browse the repository at this point in the history
Handle the case where the room has no moderator set.

Signed-off-by: Petr Šabata <[email protected]>
  • Loading branch information
contyk committed Aug 19, 2023
1 parent ca52483 commit e282c6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion malicek.pl
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ sub parse_rooms {
(?>\s<small>(?>–\s(?<topic>[^<]+)|\(ticho[^)]*\))<\/small>)?<\/[ai]>
(?><small\sclass=fr>(?>\(založila?\s<a\shref="\/u\/[^"]+"><span[^>]*>
(?<creator>[^<]+)<\/span><\/a>\)|<a\shref="\/u\/[^"]+">
<span\s[^>]+>[^<]+<\/span><samp\s[^>]+><\/samp><\/a>)<\/small>)?
<span\s[^>]+>[^<]+<\/span><samp\s[^>]+><\/samp><\/a>|
<i\s[^>]+>\(nikdo\)<\/i>)<\/small>)?
\s<\/div>\s(?><div\sclass="klubovna-lidi(?>\s[^"]+)?"\sdata-pocet="\d+">
(?<people>.+?)<\/div>)?
/sgx) {
Expand Down

0 comments on commit e282c6b

Please sign in to comment.