From: Lo?c C. <lo...@us...> - 2001-04-05 00:43:16
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib In directory usw-pr-cvs1:/tmp/cvs-serv29085 Modified Files: commands.lib.php3 Log Message: Remove some unnecessary results kept from regexps Index: commands.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands.lib.php3,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** commands.lib.php3 2001/04/04 23:52:33 1.1 --- commands.lib.php3 2001/04/05 00:43:10 1.2 *************** *** 81,89 **** include('./lib/commands/promote.cmd.' . C_EXTENSION); } ! else if (eregi('^\/(help|\?)$', $message, $cmd)) { include('./lib/commands/help.cmd.' . C_EXTENSION); } ! else if (eregi('^\/clear$', $message, $cmd)) { include('./lib/commands/clear.cmd.' . C_EXTENSION); --- 81,89 ---- include('./lib/commands/promote.cmd.' . C_EXTENSION); } ! else if (eregi('^\/(help|\?)$', $message)) { include('./lib/commands/help.cmd.' . C_EXTENSION); } ! else if (eregi('^\/clear$', $message)) { include('./lib/commands/clear.cmd.' . C_EXTENSION); |