Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands
In directory usw-pr-cvs1:/tmp/cvs-serv12273/lib/commands
Modified Files:
promote.cmd.php3 invite.cmd.php3
Log Message:
Too many details have been changed.... See by yourself
Index: promote.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands/promote.cmd.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** promote.cmd.php3 2001/04/12 23:38:25 1.1
--- promote.cmd.php3 2001/04/13 08:59:26 1.2
***************
*** 71,75 ****
? $slashedCurrentRoomName
: ',' . $slashedCurrentRoomName;
! $targetForNotifications = pmcSlashSingleQuotes(pmcSlashSingleQuotes(pmcSpecialChars($slashedTarget, $targetLatin1)));
$dbLink->query("UPDATE " . C_REG_TBL . " SET perms = 'moderator', rooms = '$slashedModeratedRooms' WHERE username = '$slashedTarget'");
--- 71,75 ----
? $slashedCurrentRoomName
: ',' . $slashedCurrentRoomName;
! $targetForNotifications = pmcSlashSingleQuotes(pmcSpecialChars($slashedTarget, $targetLatin1), 2);
$dbLink->query("UPDATE " . C_REG_TBL . " SET perms = 'moderator', rooms = '$slashedModeratedRooms' WHERE username = '$slashedTarget'");
Index: invite.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands/invite.cmd.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** invite.cmd.php3 2001/04/12 23:38:25 1.2
--- invite.cmd.php3 2001/04/13 08:59:26 1.3
***************
*** 40,47 ****
{
$currentTime = time();
! $nickForNotifications = pmcSlashSingleQuotes(pmcSlashSingleQuotes(pmcSpecialChars($slashedNick, $latin1)));
! $roomForNotifications = pmcSlashSingleQuotes(pmcSlashSingleQuotes(pmcSpecialChars($slashedCurrentRoomName, 0)));
! $roomForJs = pmcSlashSingleQuotes(pmcSlashSingleQuotes(pmcSlashSingleQuotes(pmcSlashSingleQuotes($roomForNotifications))));
! $invitedsForNotifications = pmcSlashSingleQuotes(pmcSlashSingleQuotes(pmcSlashSingleQuotes(pmcSpecialChars($cmd[2], 0))));
// Prepares the messages
--- 40,47 ----
{
$currentTime = time();
! $nickForNotifications = pmcSlashSingleQuotes(pmcSpecialChars($slashedNick, $latin1), 2);
! $roomForNotifications = pmcSlashSingleQuotes(pmcSpecialChars($slashedCurrentRoomName, 0), 2);
! $roomForJs = pmcSlashSingleQuotes($roomForNotifications, 4);
! $invitedsForNotifications = pmcSlashSingleQuotes(pmcSpecialChars($cmd[2], 0), 3);
// Prepares the messages
|