Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/commands
In directory usw-pr-cvs1:/tmp/cvs-serv19882/chat/lib/commands
Modified Files:
quit.cmd.php3 priv_msg.cmd.php3 me.cmd.php3 join.cmd.php3
Log Message:
Fix some bad translations ('bad words' to 'swear words')
***** 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.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** quit.cmd.php3 2001/02/25 18:27:40 1.1.1.1
--- quit.cmd.php3 2001/04/10 17:39:34 1.2
***************
*** 1,5 ****
<?php
! // Check for bad words in the message to be sent if there is one
if (trim($Cmd[3]) != "")
{
--- 1,5 ----
<?php
! // Check for swear words in the message to be sent if there is one
if (trim($Cmd[3]) != "")
{
Index: priv_msg.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/commands/priv_msg.cmd.php3,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** priv_msg.cmd.php3 2001/02/25 18:27:40 1.1.1.1
--- priv_msg.cmd.php3 2001/04/10 17:39:34 1.2
***************
*** 8,12 ****
elseif (trim($Cmd[2]) != "" && trim($Cmd[3]) != "")
{
! // Check for bad words in the message if necessary
if (C_BAD_WORDS == 1)
{
--- 8,12 ----
elseif (trim($Cmd[2]) != "" && trim($Cmd[3]) != "")
{
! // Check for swear words in the message if necessary
if (C_BAD_WORDS == 1)
{
Index: me.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/commands/me.cmd.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** me.cmd.php3 2001/03/21 19:31:29 1.1
--- me.cmd.php3 2001/04/10 17:39:34 1.2
***************
*** 1,5 ****
<?php
! // Check for bad words in the message if necessary
if (C_BAD_WORDS == 1)
{
--- 1,5 ----
<?php
! // Check for swear words in the message if necessary
if (C_BAD_WORDS == 1)
{
Index: join.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/commands/join.cmd.php3,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** join.cmd.php3 2001/02/25 18:27:40 1.1.1.1
--- join.cmd.php3 2001/04/10 17:39:34 1.2
***************
*** 34,38 ****
$Error = L_ERR_ROM_1;
}
! // Check for bad words if necessary
elseif(C_BAD_WORDS == 1 && checkwords($new_room, true))
{
--- 34,38 ----
$Error = L_ERR_ROM_1;
}
! // Check for swear words if necessary
elseif(C_BAD_WORDS == 1 && checkwords($new_room, true))
{
|