Call this v1.4.1 (lol)

This commit is contained in:
Pentium44 2020-12-24 20:38:17 -08:00
parent 4fcc686abb
commit b7dc60289b
5 changed files with 10 additions and 6 deletions

View File

@ -60,6 +60,9 @@ Read-Write access for working directory
#### Changelog
* v1.4.1:
* Fix usleep bug where irc.php sleeps for less than a millisecond (lol)
* v1.4.0:
* CSS cleanup / fixes. Rework CSS theme, and add a light variant.
* Minor tweaks and bug fixes

View File

@ -5,8 +5,8 @@
// https://github.com/Pentium44/idleirc
///////
$title = "IdleIRC"; // Main IdleIRC title
$desc = "IdleIRC is a simple web based IRC client & bouncer service."; // IdleIRC description
$title = "FreeBounce"; // Main IdleIRC title
$desc = "FreeBounce is a simple web based IRC client & bouncer service powered by IdleIRC"; // IdleIRC description
$server = "cddo.cf"; // IRC server connected to (for information display panel and client)
$port = "1337"; // IRC server port (for information display panel and client)
$default_channel = "#theroot"; // Default channel to push users into

View File

@ -171,6 +171,7 @@ if (isset($_GET['do']) && $_GET['do']=="login" && isset($_POST['submitBtn']) &&
<title><?php echo $title . " " . $version ?></title>
<link href="<?php echo $ui_theme; ?>.css" rel="stylesheet" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="description" content="<?php echo $desc; ?>" />
<meta name="viewport" content="width=device-width, initial-scale=.5, shrink-to-fit=yes">
<script language="javascript" type="text/javascript">
<!--
@ -433,7 +434,7 @@ if(file_exists("users/." . $_SESSION['idleirc-user'] . ".pingfile"))
</script>
</head>
<body <?php if(!isset($_GET['register']) && !isset($_GET['logs']) && !isset($_GET['settings']) && isset($_SESSION['idleirc-user']) && file_exists("users/." . $_SESSION['idleirc-user'] . ".pingfile")) { echo 'onload="UpdateTimer();"'; } ?>>
<div class="info"><?php echo $title . " " . $version;
<div class="info"><?php echo "Free<span style='color:#00ff00;'>Bounce</span>";
if(isset($_SESSION['idleirc-user'])) { echo " ~ " . $_SESSION['idleirc-servaddr'] . ":" . $_SESSION['idleirc-servport'] . " on " . $_SESSION['idleirc-channel']; } ?></div>
<?php
@ -498,7 +499,7 @@ if (!isset($_SESSION['idleirc-user'])) {
?>
<div class="navbar">
<a href="index.php?do=logout">Logout</a>
<?php
<?php
// If this is the first login, make sure to start the bouncer! From there, the user will have toggle control.
if (!file_exists("users/." . $_SESSION['idleirc-user'] . ".pingfile") && file_exists("users/." . $_SESSION['idleirc-user'] . ".first")) {

View File

@ -166,7 +166,7 @@ while($bytes = socket_recv($socket, $r_data, 3068, MSG_DONTWAIT) !== '') {
}
// second sleep to prevent insane CPU load
usleep(600);
usleep(500000);
}
?>

View File

@ -5,6 +5,6 @@
// https://github.com/Pentium44/idleirc
///////
$version = "1.4.0"; // IdleIRC version
$version = "1.4.1"; // IdleIRC version
?>