Don't show a kick button on your own session in the list of active sessions
This commit is contained in:
@ -1,4 +1,5 @@
|
|||||||
Don't display empty option for system messages in delete messages by name
|
Don't display empty option for system messages in delete messages by name
|
||||||
|
Don't show a kick button on your own session in the list of active sessions
|
||||||
|
|
||||||
Version 1.20.6 - Jul. 23, 2016
|
Version 1.20.6 - Jul. 23, 2016
|
||||||
Simplify ignore logic + disallow ignoring chatters with higher status
|
Simplify ignore logic + disallow ignoring chatters with higher status
|
||||||
|
7
chat.php
7
chat.php
@ -1059,8 +1059,13 @@ function send_sessions(){
|
|||||||
echo "<td class=\"padded\">$temp[ip]</td>";
|
echo "<td class=\"padded\">$temp[ip]</td>";
|
||||||
}
|
}
|
||||||
echo '<td class="padded">';
|
echo '<td class="padded">';
|
||||||
|
if($temp['nickname']!==$U['nickname']){
|
||||||
frmadm('sessions');
|
frmadm('sessions');
|
||||||
echo hidden('nick', $temp['nickname']).submit($I['kick']).'</form></td></tr>';
|
echo hidden('nick', $temp['nickname']).submit($I['kick']).'</form>';
|
||||||
|
}else{
|
||||||
|
echo '-';
|
||||||
|
}
|
||||||
|
echo '</td></tr>';
|
||||||
}else{
|
}else{
|
||||||
echo '<td class="padded">-</td>';
|
echo '<td class="padded">-</td>';
|
||||||
if($trackip){
|
if($trackip){
|
||||||
|
Reference in New Issue
Block a user