Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv23774/chat
Modified Files:
whois_popup.php3
Log Message:
Moderator status wasn't detected for the first room among the moderated rooms list
Index: whois_popup.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/whois_popup.php3,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** whois_popup.php3 2001/04/19 21:05:04 1.12
--- whois_popup.php3 2001/05/26 14:01:22 1.13
***************
*** 134,139 ****
break;
! case 'moderator':
! if (pmcIsInto($dbSessionVars['currentRoom'], $rooms) > 0)
{
$perms = '<i>' . L_WHOIS_MODER . '</i>';
--- 134,139 ----
break;
! case 'moderator':
! if (pmcIsInto($dbSessionVars['currentRoom'], $rooms) >= 0)
{
$perms = '<i>' . L_WHOIS_MODER . '</i>';
***************
*** 142,146 ****
--- 142,148 ----
}
else
+ {
$perms = L_WHOIS_USER;
+ }
break;
|