Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs
In directory usw-pr-cvs1:/tmp/cvs-serv15451/chat/lib/index_libs
Modified Files:
misc.lib.js
Log Message:
The new 'img' command and some modif. it requires
Index: misc.lib.js
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/misc.lib.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** misc.lib.js 2001/04/11 23:06:14 1.4
--- misc.lib.js 2001/04/13 12:52:29 1.5
***************
*** 172,176 ****
var isCmd = (msgBox.value.substring(0,1) == '/');
// RegExp used to validate commands
! var re = /^\/(!$|announce .+|ban .+|clear$|help$|\?$|ignore|invite .+|join .+|kick .+|me .+|msg .+|to .+|notify$|order$|profile$|promote .+|quit|exit|bye|refresh|save|show|last|timestamp$|whois .+)/i;
// RegExp for the history command
var reHist = /^\/!$/;
--- 172,176 ----
var isCmd = (msgBox.value.substring(0,1) == '/');
// RegExp used to validate commands
! var re = /^\/(!$|announce .+|ban .+|clear$|help$|\?$|ignore|img$|invite .+|join .+|kick .+|me .+|msg .+|to .+|notify$|order$|profile$|promote .+|quit|exit|bye|refresh|save|show|last|timestamp$|whois .+)/i;
// RegExp for the history command
var reHist = /^\/!$/;
|