changeset 684:6f0452997253

Fixed expiration.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 05 Oct 2007 17:28:52 +0000
parents 1ae8728d68cc
children 60ce0cb78a18
files ggrtf-ptracker.tf
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ggrtf-ptracker.tf	Fri Oct 05 15:15:11 2007 +0000
+++ b/ggrtf-ptracker.tf	Fri Oct 05 17:28:52 2007 +0000
@@ -156,9 +156,9 @@
 	/while ({#})\
 		/eval /set _zta=$$[pprot_%{_zplr}_%{1}]%;\
 		/eval /set _ztt=$$[pprot_%{_zplr}_%{1}_t]%;\
-		/eval /set _ztm=$$[pprot_%{_zplr}_%{1}_m]%;\
+		/eval /set _ztm=$$[pprot_%{1}_m]%;\
 		/if (_zta > 0)\
-			/if (_ztm > 0 & (time()-_ztt) >= _ztm)\
+			/if (_ztm > 0 & (time() - _ztt) >= _ztm)\
 				/set pprot_%{_zplr}_%{1}=0%;\
 				/msq PPROTTER: %{_zplr} -> %{1} OFF! @{BCred}AUTO@{n}%;\
 			/else \