Solved: Possible problem with $posts_last_24hours

"Steven W. Orr" <[email protected]> Fri, 14 Sep 2007 12:30:08 -0400 (EDT)
Newsgroups gmane.mail.majordomo.majordomo2.devel
Organization SysLang
Message-ID <[email protected]>
It looks like there may be a bug. The fourth message does trap.

  "These variables contain the number of posts the user has made within 
   the specified time periods, including the current message."

It looks like the incoming message is *not* counting towards the current 
count of messages. The doc needs to be changed to

  "These variables contain the number of posts the user has made within 
   the specified time periods, not including the current message."

On Friday, Sep 14th 2007 at 10:02 -0400, quoth Steven W. Orr:

=>I have the following posts from an individual which occurred at
=>
=>2007-09-13 21:27
=>2007-09-13 21:28
=>2007-09-14 06:24
=>
=>I have access_rules as follows:
=>
=>post
=>unset=dup_checksum, unset=dup_partial_checksum
=>ALL
=>
=>post
=>consult, reason="User has exceeded the max number of posts withinn 24hr
=>period"
=>$posts_last_24hours > 2
=>
=>post
=>deny, replyfile=UnsubFoundInText
=>$admin_unsub >= 50
=>
=>post
=>consult, reason="Address was not found in the subscriber list"
=>!@MAIN
=>
=>post
=>consult, reason="Address is in the supervised list."
=>@badguys
=>
=>The problem was that the last post at 06:24 did not trigger the consult. Can
=>someone explain why?
=>
=>TIA
=>
=>-- 
=>Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
=>happened but none stranger than this. Does your driver's license say Organ ..0
=>Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
=>individuals! What if this weren't a hypothetical question?
=>steveo at syslang.net
=>

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net