$tls_verify] ); } catch (Exception $e) { echo "Unable to connect to UnrealIRCd: ".$e->getMessage() . "

"; echo "Verify your connection details in config.php (rpc user, rpc password, host) and ". "verify your UnrealIRCd configuration (listen block with listen::options::rpc and ". "an rpc-user block with the correct IP allowed and the correct username and password)."; throw $e; } $user = unreal_get_current_user(); if ($user) { /* Set issuer for all the RPC commands */ $rpc->rpc()->set_issuer($user->username); } } connect_to_ircd();