|
From: Lo?c C. <lo...@us...> - 2001-04-21 19:35:36
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv32521/chat/lib
Modified Files:
banish.lib.php3
Log Message:
Fix some bugs if rooms' names contain slash character
Index: banish.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/banish.lib.php3,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** banish.lib.php3 2001/04/19 21:05:04 1.4
--- banish.lib.php3 2001/04/21 19:35:33 1.5
***************
*** 119,123 ****
// Add the nick to the banished users table if necessary
if ($isBanished)
! $dbLink->query("INSERT INTO " . C_BAN_TBL . " VALUES ('$slashedNick', $latin1, '$ip', '$banishedFromRooms', '$banUntil')");
} // end of the case where IP is banished from some rooms
else
--- 119,123 ----
// Add the nick to the banished users table if necessary
if ($isBanished)
! $dbLink->query("INSERT INTO " . C_BAN_TBL . " (username, latin1, ip, rooms, ban_until) VALUES ('$slashedNick', $latin1, '$ip', '" . pmcSlashSingleQuotes($banishedFromRooms) . "', '$banUntil')");
} // end of the case where IP is banished from some rooms
else
|