Empty commit

This commit is contained in:
Git 2012-05-03 08:00:25 +00:00
parent 1018150eb3
commit 3fef0a5870
5 changed files with 43 additions and 40 deletions

View File

@ -33,7 +33,7 @@ public function __construct() {
public function connect() { public function connect() {
//Open a socket to the IRC server //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); stream_set_blocking($this->Socket, 0);
//create a socket to listen on //create a socket to listen on

View File

@ -91,7 +91,10 @@
<label for="subscribebox">Subscribe to topic</label> <label for="subscribebox">Subscribe to topic</label>
</td> </td>
</tr> </tr>
<? if (check_perms('forums_polls_create')) { ?> <?
if (check_perms('forums_polls_create')) {
?>
<script type="text/javascript"> <script type="text/javascript">
var AnswerCount = 1; var AnswerCount = 1;

View File

@ -13,7 +13,7 @@
); );
list($SupportFor, $DisplayStaff) = $DB->next_record(); list($SupportFor, $DisplayStaff) = $DB->next_record();
if (!($SupportFor != '' || $DisplayStaff == '1')) { if (!$IsFLS) {
// Logged in user is not FLS or Staff // Logged in user is not FLS or Staff
error(403); error(403);
} }

View File

@ -74,7 +74,7 @@
include('takemoderate.php'); include('takemoderate.php');
break; break;
case 'clearcache': 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); error(403);
} }
$UserID = $_REQUEST['id']; $UserID = $_REQUEST['id'];

View File

@ -190,7 +190,7 @@ function check_paranoia_here($Setting) {
?> ?>
[<a href="userhistory.php?action=token_history&amp;userid=<?=$UserID?>">FL Tokens</a>] [<a href="userhistory.php?action=token_history&amp;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&amp;id=<?=$UserID?>">Clear Cache</a>] [<a href="user.php?action=clearcache&amp;id=<?=$UserID?>">Clear Cache</a>]
<? } ?> <? } ?>