now irc can be used, even if not logged in

main
hecht 13 years ago
parent 03b578114a
commit 346246e63c

@ -43,7 +43,7 @@ $name = validateName($_COOKIE['name']);
$passwort = validateString($_COOKIE['passwort']); $passwort = validateString($_COOKIE['passwort']);
$usergroups = getUserGroups($name); $usergroups = getUserGroups($name);
if(!isUserInGroup($usergroups, ADMIN) && time() < mktime(18, 0, 0, 1, 6, 2012)) { if(!isUserInGroup($usergroups, ADMIN) && time() < mktime(22, 10, 0, 1, 4, 2012)) {
$passwort = null; $passwort = null;
} }
@ -90,4 +90,4 @@ $pic_g31 = 75; ///////////Bild Groesse
} }
} }
*/ */
?> ?>

@ -314,7 +314,7 @@ $agb = $_REQUEST['agb'];
if(file_exists($as.'.php')) if(file_exists($as.'.php'))
{ {
if($as != "login" AND $as != "anmeldung" AND $as != "info/logs" AND $as != "info/agb" AND $as != "pw" AND $as != "aktiv" AND $as != 'impressum' AND $as != 'support' AND $POLOE == 1) { if($as != "irc" AND $as != "login" AND $as != "anmeldung" AND $as != "info/logs" AND $as != "info/agb" AND $as != "pw" AND $as != "aktiv" AND $as != 'impressum' AND $as != 'support' AND $POLOE == 1) {
echo "Passwort falsch oder Account nicht aktiviert!"; echo "Passwort falsch oder Account nicht aktiviert!";
} else { } else {
//if($banned_accs > 0) { //if($banned_accs > 0) {

Loading…
Cancel
Save