Changeset 157
- Timestamp:
- 03/10/08 01:22:02 (9 months ago)
- Files:
-
- trunk/Phergie/Plugin/ChuckNorris.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Plugin/ChuckNorris.php
r152 r157 63 63 * @var int 64 64 */ 65 protected $floodCheck = 3;65 protected $floodCheck = 10; 66 66 67 67 /** … … 242 242 // it was a bot request by checking for Fact: at the begiining and also do a floodpro check 243 243 if (!preg_match('{^(?:' . $this->getIni('nick') . '\s*:?\s+)}i', $message, $m) && 244 preg_match('{(chuck\s *norris)}i', $message, $m) &&244 preg_match('{(chuck\s+norris)}i', $message, $m) && 245 245 strtolower(substr($message, 0, 5)) != 'fact:' && 246 246 ($this->floodCheck <= 0 || ($this->floodCache[$source] < (time() - $this->floodCheck)))) {