Files
ops-Gazelle/sections/chat/index.php
2025-05-23 14:41:16 +02:00

17 lines
298 B
PHP

<?php
/** @phpstan-var ?\Gazelle\User $Viewer */
declare(strict_types=1);
namespace Gazelle;
if (!$Viewer || $Viewer->isLocked()) {
include_once 'webirc_disabled.php';
exit;
}
require_once match ($_REQUEST['action'] ?? '') {
'webirc' => 'webirc.php',
default => 'join.php',
};