mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-05 22:10:11 +00:00
Empty commit
This commit is contained in:
parent
1018150eb3
commit
3fef0a5870
@ -33,7 +33,7 @@ public function __construct() {
|
||||
|
||||
public function connect() {
|
||||
//Open a socket to the IRC server
|
||||
$this->Socket = fsockopen('ssl://'.BOT_SERVER, BOT_PORT_SSL);
|
||||
$this->Socket = fsockopen('tls://'.BOT_SERVER, BOT_PORT_SSL);
|
||||
stream_set_blocking($this->Socket, 0);
|
||||
|
||||
//create a socket to listen on
|
||||
|
@ -91,7 +91,10 @@
|
||||
<label for="subscribebox">Subscribe to topic</label>
|
||||
</td>
|
||||
</tr>
|
||||
<? if (check_perms('forums_polls_create')) { ?>
|
||||
<?
|
||||
|
||||
if (check_perms('forums_polls_create')) {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
var AnswerCount = 1;
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
);
|
||||
list($SupportFor, $DisplayStaff) = $DB->next_record();
|
||||
|
||||
if (!($SupportFor != '' || $DisplayStaff == '1')) {
|
||||
if (!$IsFLS) {
|
||||
// Logged in user is not FLS or Staff
|
||||
error(403);
|
||||
}
|
||||
|
@ -74,7 +74,7 @@
|
||||
include('takemoderate.php');
|
||||
break;
|
||||
case 'clearcache':
|
||||
if (!check_perms('admin_clear_cache') || !check_perms('users_mod')) {
|
||||
if (!check_perms('admin_clear_cache') || !check_perms('users_override_paranoia')) {
|
||||
error(403);
|
||||
}
|
||||
$UserID = $_REQUEST['id'];
|
||||
|
@ -190,7 +190,7 @@ function check_paranoia_here($Setting) {
|
||||
?>
|
||||
[<a href="userhistory.php?action=token_history&userid=<?=$UserID?>">FL Tokens</a>]
|
||||
<? }
|
||||
if (check_perms('admin_clear_cache') && check_perms('users_mod')) {
|
||||
if (check_perms('admin_clear_cache') && check_perms('users_override_paranoia')) {
|
||||
?>
|
||||
[<a href="user.php?action=clearcache&id=<?=$UserID?>">Clear Cache</a>]
|
||||
<? } ?>
|
||||
|
Loading…
Reference in New Issue
Block a user