Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/commands
In directory usw-pr-cvs1:/tmp/cvs-serv14937/lib/commands
Modified Files:
quit.cmd.php3 priv_msg.cmd.php3 me.cmd.php3 join.cmd.php3
Log Message:
'C_BAD_WORDS' directive become 'C_NO_SWEAR'
***** Bogus filespec: -
***** Bogus filespec: 0.14/chat/lib/commands
Index: quit.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/commands/quit.cmd.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** quit.cmd.php3 2001/04/10 17:39:34 1.2
--- quit.cmd.php3 2001/04/11 21:10:51 1.3
***************
*** 4,8 ****
if (trim($Cmd[3]) != "")
{
! if (C_BAD_WORDS == 1)
{
include("./lib/swearing.lib.php3");
--- 4,8 ----
if (trim($Cmd[3]) != "")
{
! if (C_NO_SWEAR == 1)
{
include("./lib/swearing.lib.php3");
Index: priv_msg.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/commands/priv_msg.cmd.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** priv_msg.cmd.php3 2001/04/10 17:39:34 1.2
--- priv_msg.cmd.php3 2001/04/11 21:10:51 1.3
***************
*** 9,13 ****
{
// Check for swear words in the message if necessary
! if (C_BAD_WORDS == 1)
{
include("./lib/swearing.lib.php3");
--- 9,13 ----
{
// Check for swear words in the message if necessary
! if (C_NO_SWEAR == 1)
{
include("./lib/swearing.lib.php3");
Index: me.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/commands/me.cmd.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** me.cmd.php3 2001/04/10 17:39:34 1.2
--- me.cmd.php3 2001/04/11 21:10:51 1.3
***************
*** 2,6 ****
// Check for swear words in the message if necessary
! if (C_BAD_WORDS == 1)
{
include("./lib/swearing.lib.php3");
--- 2,6 ----
// Check for swear words in the message if necessary
! if (C_NO_SWEAR == 1)
{
include("./lib/swearing.lib.php3");
Index: join.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/commands/join.cmd.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** join.cmd.php3 2001/04/10 17:39:34 1.2
--- join.cmd.php3 2001/04/11 21:10:51 1.3
***************
*** 15,19 ****
};
! if (C_BAD_WORDS == 1) include("./lib/swearing.lib.php3");
$new_room_type = ($Cmd[2] != "" ? $Cmd[2]:1);
--- 15,19 ----
};
! if (C_NO_SWEAR == 1) include("./lib/swearing.lib.php3");
$new_room_type = ($Cmd[2] != "" ? $Cmd[2]:1);
***************
*** 35,39 ****
}
// Check for swear words if necessary
! elseif(C_BAD_WORDS == 1 && checkwords($new_room, true))
{
$Error = L_ERR_ROM_2;
--- 35,39 ----
}
// Check for swear words if necessary
! elseif(C_NO_SWEAR == 1 && checkwords($new_room, true))
{
$Error = L_ERR_ROM_2;
|