Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Giraffaman committed Feb 25, 2024
1 parent ddcf081 commit cbf38b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/pools/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public function onPageSubNavBuilding(PageSubNavBuildingEvent $event): void
public function onPageRequest(PageRequestEvent $event): void
{
global $config, $database, $page, $user;
if($event->page_matches("pool") && (! $user->is_logged_in())) {
if($event->page_matches("pool{/}") && (! $user->is_logged_in())) {
$errMessage = "You must be registered and logged in to use pools.";
$this->theme->display_error(401, "Unauthorized", $errMessage);
return;
Expand Down

0 comments on commit cbf38b4

Please sign in to comment.