Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack
In directory sc8-pr-cvs1:/tmp/cvs-serv4929/scripts/wolfpack
Modified Files:
consts.py utilities.py
Log Message:
AntiMacroCheck implemented
Index: consts.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/consts.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** consts.py 8 Oct 2003 01:56:08 -0000 1.33
--- consts.py 15 Nov 2003 20:55:13 -0000 1.34
***************
*** 357,358 ****
--- 357,363 ----
RELOAD_CONFIGURATION = 3
SAVE_WORLD = 4
+
+ #5 minutes
+ ANTIMACRODELAY = 300000
+ #3 uses of object
+ ANTIMACROALLOWANCE = 3
Index: utilities.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/utilities.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** utilities.py 29 Sep 2003 17:15:20 -0000 1.19
--- utilities.py 15 Nov 2003 20:55:14 -0000 1.20
***************
*** 270,271 ****
--- 270,277 ----
range( 1635, 1642 ) + \
range( 1647, 1650 )
+
+ def cleartag( self, args ):
+ char = args[0]
+ tagname = args[1]
+ self.deltag( tagname )
+ return OK
|