|
From: Lo?c C. <lo...@us...> - 2001-04-21 09:44:03
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv20722/chat
Modified Files:
input.php3 handle_input.php3
Log Message:
Better handdling of commands
Index: input.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/input.php3,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** input.php3 2001/04/19 21:05:04 1.22
--- input.php3 2001/04/21 09:43:59 1.23
***************
*** 134,140 ****
{
include('./lib/commands.lib.' . C_EXTENSION);
! if (!($isCommand) && !isset($error))
! $error = L_BAD_CMD;
! } // end of handle commands
// Tests for 'true' messages
--- 134,138 ----
{
include('./lib/commands.lib.' . C_EXTENSION);
! } // end of handdling commands
// Tests for 'true' messages
***************
*** 229,233 ****
// Put the session id in an hidden field
echo("\t" . dbSessionSID('POST') . "\n");
! ?>
<!-- Whether a message has been sent or not (used to avoid multiple submission) -->
<input type="hidden" name="sent" value="0" />
--- 227,231 ----
// Put the session id in an hidden field
echo("\t" . dbSessionSID('POST') . "\n");
! ?>
<!-- Whether a message has been sent or not (used to avoid multiple submission) -->
<input type="hidden" name="sent" value="0" />
Index: handle_input.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/handle_input.php3,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** handle_input.php3 2001/04/19 21:05:04 1.18
--- handle_input.php3 2001/04/21 09:43:59 1.19
***************
*** 133,139 ****
{
include('./lib/commands.lib.' . C_EXTENSION);
! if (!($isCommand) && !isset($error))
! $error = L_BAD_CMD;
! } // end of handle commands
// Tests for 'true' messages
--- 133,137 ----
{
include('./lib/commands.lib.' . C_EXTENSION);
! } // end of handdling commands
// Tests for 'true' messages
|