Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv14937/lib
Modified Files:
index.lib.php3
Log Message:
'C_BAD_WORDS' directive become 'C_NO_SWEAR'
***** Bogus filespec: -
***** Bogus filespec: 0.14/chat/lib
Index: index.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/index.lib.php3,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** index.lib.php3 2001/04/10 17:39:34 1.7
--- index.lib.php3 2001/04/11 21:10:51 1.8
***************
*** 156,160 ****
{
$relog = false;
! if (C_BAD_WORDS == 1) include("./${ChatPath}lib/swearing.lib.php3");
// Check for no nick entered in
if ($U == "")
--- 156,160 ----
{
$relog = false;
! if (C_NO_SWEAR == 1) include("./${ChatPath}lib/swearing.lib.php3");
// Check for no nick entered in
if ($U == "")
***************
*** 168,172 ****
}
// Check for swear words in the nick
! elseif (C_BAD_WORDS == 1 && checkwords($U, true))
{
$Error = L_ERR_USR_18;
--- 168,172 ----
}
// Check for swear words in the nick
! elseif (C_NO_SWEAR == 1 && checkwords($U, true))
{
$Error = L_ERR_USR_18;
***************
*** 263,267 ****
}
// Check for swear words in room name
! else if(C_BAD_WORDS == 1 && checkwords($R2, true))
{
$Error = L_ERR_ROM_2;
--- 263,267 ----
}
// Check for swear words in room name
! else if(C_NO_SWEAR == 1 && checkwords($R2, true))
{
$Error = L_ERR_ROM_2;
|